pub enum OrgSubcommand {
Show 15 variants
Create {
name: String,
key: Option<String>,
metadata_file: Option<PathBuf>,
},
Attest {
subject_did: String,
payload_file: PathBuf,
note: Option<String>,
expires_at: Option<String>,
key: Option<String>,
},
Revoke {
subject_did: String,
note: Option<String>,
key: Option<String>,
},
Show {
subject_did: String,
include_revoked: bool,
},
List {
include_revoked: bool,
},
AddMember {
org: String,
member_did: String,
role: CliRole,
capabilities: Option<Vec<Capability>>,
key: Option<String>,
note: Option<String>,
},
RevokeMember {
org: String,
member_did: String,
note: Option<String>,
key: Option<String>,
dry_run: bool,
},
ListMembers {
org: String,
include_revoked: bool,
},
Audit {
org: String,
member_did: String,
artifact: Option<PathBuf>,
signed_at: Option<u128>,
json: bool,
},
OffboardingLog {
org: String,
member_did: Option<String>,
json: bool,
},
Bundle {
org: String,
out: PathBuf,
},
Join {
code: String,
registry: String,
},
Policy {
action: PolicyAction,
},
Metrics {
org: String,
json: bool,
},
Trace {
commit: Option<String>,
member: Option<String>,
signed_at: Option<u128>,
json: bool,
},
}Expand description
Subcommands for managing authorizations issued by this identity.
Variants§
Create
Create a new organization identity
Fields
Attest
Fields
Revoke
Show
List
AddMember
Add a member to an organization
Fields
§
capabilities: Option<Vec<Capability>>Override default capabilities (comma-separated)
RevokeMember
Revoke a member from an organization
Fields
ListMembers
List members of an organization
Audit
Classify a member’s authority at an artifact’s signing position (by KEL position)
Fields
OffboardingLog
List durable off-boarding records for an organization
Fields
Bundle
Produce a self-contained, air-gapped provenance bundle for an organization
Join
Join an organization using an invite code
Fields
Policy
Manage the org-wide authorization policy (anchored on the org KEL)
Fields
§
action: PolicyActionPolicy action (set/show)
Metrics
Show fleet governance metrics for an organization
Trace
Trace an agent’s delegation chain to the authorizing root + live-at-signing
Trait Implementations§
Source§impl Clone for OrgSubcommand
impl Clone for OrgSubcommand
Source§fn clone(&self) -> OrgSubcommand
fn clone(&self) -> OrgSubcommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrgSubcommand
impl Debug for OrgSubcommand
Source§impl FromArgMatches for OrgSubcommand
impl FromArgMatches for OrgSubcommand
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 OrgSubcommand
impl Subcommand for OrgSubcommand
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 OrgSubcommand
impl RefUnwindSafe for OrgSubcommand
impl Send for OrgSubcommand
impl Sync for OrgSubcommand
impl Unpin for OrgSubcommand
impl UnsafeUnpin for OrgSubcommand
impl UnwindSafe for OrgSubcommand
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