pub enum EnrollCommand {
Op {
handle: String,
json: bool,
},
OrgCreate {
handle: String,
json: bool,
},
OrgAddMember {
op_did: String,
org: String,
json: bool,
},
}Expand description
wire enroll … — mint the operator/org identities + certs the offline
org-membership layer (RFC-001) consumes. Keys are stored 0600 alongside
private.key. (Publishing these claims on the agent’s own card — the
card-emit integration — is a separate follow-up.)
Variants§
Op
Mint this machine’s operator root key (op.key) and print its op_did.
OrgCreate
Mint an organization root key and print its org_did + org_pubkey.
OrgAddMember
Issue a membership cert: the named org signs an operator’s op_did.
Prints the {org_did, org_pubkey, member_cert} bundle for the operator
to add to their card’s org_memberships[].
Trait Implementations§
Source§impl Debug for EnrollCommand
impl Debug for EnrollCommand
Source§impl FromArgMatches for EnrollCommand
impl FromArgMatches for EnrollCommand
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>
Assign values from
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>
Assign values from
ArgMatches to self.Source§impl Subcommand for EnrollCommand
impl Subcommand for EnrollCommand
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
Append to
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
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for EnrollCommand
impl RefUnwindSafe for EnrollCommand
impl Send for EnrollCommand
impl Sync for EnrollCommand
impl Unpin for EnrollCommand
impl UnsafeUnpin for EnrollCommand
impl UnwindSafe for EnrollCommand
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