pub enum OrgSubcommand {
Show 16 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: Option<String>,
},
Policy {
action: PolicyAction,
},
AnchorOidcPolicy {
org: String,
file: PathBuf,
key: Option<String>,
},
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)
AnchorOidcPolicy
Anchor the org’s OIDC-subject policy on its KEL (who may sign keylessly).
Verifiers resolve it with auths artifact verify --oidc-policy-did <org-did>
— the witnessed log is the policy’s source of truth, not a pinned file.
Fields
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
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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>
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 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
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