ate-auth 1.9.0

Represents a standardized data model and API for authenticating an ATE chain-of-trust
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use clap::Parser;

/// Gathers the permissions needed to access a specific group into the token using either another supplied token or the prompted credentials
#[derive(Parser)]
pub struct GatherPermissions {
    /// Name of the group to gather the permissions for
    #[clap(index = 1)]
    pub group: String,
    /// Determines if sudo permissions should be sought
    #[clap(long)]
    pub sudo: bool,
    /// Display the token in human readable format
    #[clap(long)]
    pub human: bool,
    /// Summarises the token rather than returning it
    #[clap(long)]
    pub summary: bool,
}