pub enum IdSubcommand {
Create {
metadata_file: PathBuf,
local_key_alias: String,
preset: LayoutPreset,
},
Show,
Rotate {
alias: Option<String>,
current_key_alias: Option<String>,
next_key_alias: Option<String>,
add_witness: Vec<String>,
remove_witness: Vec<String>,
witness_threshold: Option<u64>,
},
ExportBundle {
alias: String,
output: PathBuf,
max_age_secs: u64,
},
Register {
registry: String,
},
Claim(ClaimCommand),
Migrate(MigrateCommand),
}Variants§
Create
Create a new cryptographic identity with secure key storage.
Fields
preset: LayoutPresetStorage layout preset for ecosystem compatibility. Use ‘radicle’ for Radicle repositories, ‘gitoxide’ for gitoxide, or ‘default’ for standard Auths layout.
Show
Show primary identity details (identity ID, metadata) from the Git repository.
Rotate
Rotate identity keys. Stores the new key under a new alias.
Fields
alias: Option<String>Alias of the identity key to rotate. If provided alone, next-key-alias defaults to
current_key_alias: Option<String>Alias of the CURRENT private key controlling the identity (alternative to –alias).
add_witness: Vec<String>Verification server prefix to add (e.g., B…). Can be specified multiple times.
ExportBundle
Export an identity bundle for stateless CI/CD verification.
Creates a portable JSON bundle containing the identity ID, public key, and authorization chain. This bundle can be used in CI pipelines to verify commit signatures without requiring access to the identity repository.
Fields
Register
Publish this identity to a public registry for discovery.
Claim(ClaimCommand)
Add a platform claim to an already-registered identity.
Migrate(MigrateCommand)
Import existing GPG or SSH keys into Auths.
Trait Implementations§
Source§impl Clone for IdSubcommand
impl Clone for IdSubcommand
Source§fn clone(&self) -> IdSubcommand
fn clone(&self) -> IdSubcommand
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IdSubcommand
impl Debug for IdSubcommand
Source§impl FromArgMatches for IdSubcommand
impl FromArgMatches for IdSubcommand
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 IdSubcommand
impl Subcommand for IdSubcommand
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