pub struct RotateAuthorityArgs {Show 15 fields
pub public_ca: PathBuf,
pub authority_log: PathBuf,
pub authority_checkpoint: PathBuf,
pub authority_key: PathBuf,
pub identities: Vec<PathBuf>,
pub yubikey_identities: Vec<PathBuf>,
pub software_recovery: bool,
pub recipients: Vec<String>,
pub add: bool,
pub replace: bool,
pub new_authority_key: PathBuf,
pub new_public_key: PathBuf,
pub authority_log_out: PathBuf,
pub authority_checkpoint_out: PathBuf,
pub force: bool,
}Fields§
§public_ca: PathBufRaw 1984-byte original public root (does not change during log rotation).
Current signed authority rotation log.
Current independently trusted expected authority-log head.
Age-encrypted currently active authority used to sign the rotation.
identities: Vec<PathBuf>Identity used to unlock the current authority. Repeatable.
yubikey_identities: Vec<PathBuf>YubiKey identity used to unlock the current authority. Repeatable.
software_recovery: boolBreak-glass: use the age-wrapped recovery copy of a PIV Ed25519 key.
recipients: Vec<String>Recipient ring for the new authority. At least two distinct values.
add: boolKeep existing active authority keys and add the new key.
replace: boolRetire existing active authority keys after authorizing the new key.
Encrypted new authority key output.
new_public_key: PathBufRaw 1984-byte new authority public pair (operator record, not the root pin).
Updated signed rotation log output.
Updated independently trusted authority-log head output.
force: boolReplace existing output files.
Trait Implementations§
Source§impl Args for RotateAuthorityArgs
impl Args for RotateAuthorityArgs
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 RotateAuthorityArgs
impl Debug for RotateAuthorityArgs
Source§impl FromArgMatches for RotateAuthorityArgs
impl FromArgMatches for RotateAuthorityArgs
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 RotateAuthorityArgs
impl RefUnwindSafe for RotateAuthorityArgs
impl Send for RotateAuthorityArgs
impl Sync for RotateAuthorityArgs
impl Unpin for RotateAuthorityArgs
impl UnsafeUnpin for RotateAuthorityArgs
impl UnwindSafe for RotateAuthorityArgs
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