pub enum SigningKeyMaterial {
Alias(KeyAlias),
Direct(SecureSeed),
}Expand description
Selects how a signing key is supplied to sign_artifact_attestation.
Alias resolves the key from the platform keychain at call time.
Direct injects a raw seed, bypassing the keychain — intended for headless
CI/CD runners that have no platform keychain available.
Variants§
Alias(KeyAlias)
Resolve by alias from the platform keychain.
Direct(SecureSeed)
Inject a raw Ed25519 seed directly. The passphrase provider is not called.
Auto Trait Implementations§
impl Freeze for SigningKeyMaterial
impl RefUnwindSafe for SigningKeyMaterial
impl Send for SigningKeyMaterial
impl Sync for SigningKeyMaterial
impl Unpin for SigningKeyMaterial
impl UnsafeUnpin for SigningKeyMaterial
impl UnwindSafe for SigningKeyMaterial
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more