pub struct EnrollServiceKeyArgs {Show 15 fields
pub public_ca: PathBuf,
pub authority_log: PathBuf,
pub authority_checkpoint: PathBuf,
pub identities: Vec<PathBuf>,
pub identity_fds: Vec<RawFd>,
pub yubikey_identities: Vec<PathBuf>,
pub software_recovery: bool,
pub via_delegated_signer: Option<PathBuf>,
pub via_delegated_signer_fd: Option<RawFd>,
pub delegation: PathBuf,
pub service: String,
pub service_public_key: PathBuf,
pub ttl_seconds: u32,
pub attestation: PathBuf,
pub force: bool,
}Fields§
§public_ca: PathBufRaw 1984-byte public deployment root.
Installed/current public authority log.
Independently trusted expected authority-log head.
identities: Vec<PathBuf>Age identity file. Repeatable for native or plugin identities.
identity_fds: Vec<RawFd>Inherited FD carrying an age identity (systemd LoadCredentialEncrypted / podman –preserve-fds); plaintext never touches a filesystem path. Repeatable; mutually exclusive with –identity.
yubikey_identities: Vec<PathBuf>age-plugin-yubikey identity file. Repeatable; decryption requires the token.
software_recovery: boolBreak-glass: use the age-wrapped recovery copy of a PIV Ed25519 key.
via_delegated_signer: Option<PathBuf>Age-encrypted delegated online signer carrying the enrollment scope.
via_delegated_signer_fd: Option<RawFd>Inherited FD carrying the age-encrypted delegated signer (systemd LoadCredentialEncrypted / podman –preserve-fds). Mutually exclusive with –via-delegated-signer.
delegation: PathBufTwo-capability delegation authorizing –via-delegated-signer.
service: StringService whose key is enrolled (fixed allowlist, hyprstream#1562).
service_public_key: PathBufRaw 1984-byte hybrid service public key (service-pubkey.hybrid:
32-byte Ed25519 followed by 1952-byte ML-DSA-65).
ttl_seconds: u32Attestation lifetime in seconds; the capability caps this at one hour.
attestation: PathBufService-key enrollment attestation output (public, 0644).
force: boolReplace existing output files.
Trait Implementations§
Source§impl Args for EnrollServiceKeyArgs
impl Args for EnrollServiceKeyArgs
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl Debug for EnrollServiceKeyArgs
impl Debug for EnrollServiceKeyArgs
Source§impl FromArgMatches for EnrollServiceKeyArgs
impl FromArgMatches for EnrollServiceKeyArgs
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for EnrollServiceKeyArgs
impl RefUnwindSafe for EnrollServiceKeyArgs
impl Send for EnrollServiceKeyArgs
impl Sync for EnrollServiceKeyArgs
impl Unpin for EnrollServiceKeyArgs
impl UnsafeUnpin for EnrollServiceKeyArgs
impl UnwindSafe for EnrollServiceKeyArgs
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request