pub enum ArtifactSubcommand {
Sign {Show 18 fields
file: PathBuf,
sig_output: Option<PathBuf>,
force: bool,
key: Option<String>,
device_key: Option<String>,
expires_in: Option<u64>,
note: Option<String>,
commit: Option<String>,
no_commit: bool,
ci: bool,
curve: Option<CurveType>,
ci_platform: Option<String>,
oidc_token: Option<PathBuf>,
oidc_audience: Option<String>,
oidc_issuer: String,
oidc_jwks: Option<PathBuf>,
log: Option<String>,
allow_unlogged: bool,
},
Publish {
file: Option<PathBuf>,
signature: Option<PathBuf>,
package: Option<String>,
registry: Option<String>,
key: Option<String>,
device_key: Option<String>,
expires_in: Option<u64>,
note: Option<String>,
commit: Option<String>,
no_commit: bool,
},
Verify {Show 19 fields
file: PathBuf,
signature: Option<PathBuf>,
identity_bundle: Option<PathBuf>,
witness_receipts: Option<PathBuf>,
witness_keys: Vec<String>,
witness_threshold: usize,
verify_commit: bool,
signature_only: bool,
offline: bool,
roots: Option<PathBuf>,
member: Option<String>,
signed_at: Option<u128>,
json: bool,
oidc_policy: Option<PathBuf>,
oidc_policy_did: Option<String>,
log_evidence: Option<PathBuf>,
log_key: Option<String>,
expect_signer: Option<String>,
require_rooted_signer: bool,
},
}Variants§
Sign
Sign an artifact file with your Auths identity.
Fields
key: Option<String>Local alias of the identity key (used for signing). Omit for CI device-only signing.
device_key: Option<String>Local alias of the device key (used for dual-signing). Auto-detected when only one key exists for the identity.
commit: Option<String>Git commit SHA to embed in the attestation (provenance binding; embedded only when given, never inferred from git state).
curve: Option<CurveType>Curve for the ephemeral CI key (p256 or ed25519). Only meaningful
with –ci; defaults to p256.
ci_platform: Option<String>CI platform override when –ci is used outside a detected CI environment.
oidc_token: Option<PathBuf>Path to the runner’s OIDC token (the keyless exchange: the token is validated against the issuer’s JWKS and the verified claims are embedded in the signed attestation as an OIDC binding).
oidc_audience: Option<String>Expected OIDC token audience (exact match). Required with –oidc-token.
Publish
Sign and publish an artifact attestation to a registry.
Auto-signs the artifact when no –signature is provided.
Fields
Verify
Verify an artifact’s signature against an Auths identity.
Fields
signature_only: boolFor an ephemeral (did:key:) attestation, confirm the signature over
the artifact digest WITHOUT chasing the commit-anchor leg. This is the
runner’s self-check: it has no maintainer repo/roots, but it can prove
it signed what it emitted. A pass means “digest matches, ephemeral key
signed it”, not “the signer trust-chains to a maintainer”.
oidc_policy: Option<PathBuf>OIDC-subject policy file to JOIN against the attestation’s signed OIDC binding (issuer + repository [+ workflow_ref] the org trusts). Fail-closed: a missing binding or any mismatch fails verification.
oidc_policy_did: Option<String>Resolve the OIDC-subject policy from the org’s KEL instead of a
pinned file: reads the latest policy digest the org anchored
(auths org anchor-oidc-policy) from the local registry and refuses
a digest mismatch — the witnessed log is the source of truth.
log_evidence: Option<PathBuf>Offline transparency-log inclusion evidence for this artifact
(auths log prove --out). Verified fully offline; the verdict’s
anchored field reports the outcome. Requires –log-key — an
inclusion proof without a pinned operator proves nothing.
log_key: Option<String>The log operator’s Ed25519 public key (64 hex chars), pinned out of band — never trusted from the evidence file itself.
Trait Implementations§
Source§impl Clone for ArtifactSubcommand
impl Clone for ArtifactSubcommand
Source§fn clone(&self) -> ArtifactSubcommand
fn clone(&self) -> ArtifactSubcommand
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ArtifactSubcommand
impl Debug for ArtifactSubcommand
Source§impl FromArgMatches for ArtifactSubcommand
impl FromArgMatches for ArtifactSubcommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for ArtifactSubcommand
impl Subcommand for ArtifactSubcommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand