pub struct AclAuthMethod {
pub name: String,
pub type: String,
pub token_locality: String,
pub token_name_format: String,
pub max_token_ttl: TimeDelta,
pub default: bool,
pub config: Option<AclAuthMethodConfig>,
pub create_time: DateTime<Utc>,
pub modify_time: DateTime<Utc>,
pub create_index: u64,
pub modify_index: u64,
}Expand description
ACLAuthMethod is used to capture the properties of an authentication method used for single sing-on.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§name: StringName is the identifier for this auth-method and is a required parameter.
type: StringType is the SSO identifier this auth-method is. Nomad currently only supports “oidc” and the API contains ACLAuthMethodTypeOIDC for convenience.
token_locality: StringDefines whether the auth-method creates a local or global token when performing SSO login. This should be set to either “local” or “global” and the API contains ACLAuthMethodTokenLocalityLocal and ACLAuthMethodTokenLocalityGlobal for convenience.
token_name_format: StringTokenNameFormat defines the HIL template to use when building the token name
max_token_ttl: TimeDeltaMaxTokenTTL is the maximum life of a token created by this method.
default: boolDefault identifies whether this is the default auth-method to use when attempting to login without specifying an auth-method name to use.
config: Option<AclAuthMethodConfig>Config contains the detailed configuration which is specific to the auth-method.
create_time: DateTime<Utc>§modify_time: DateTime<Utc>§create_index: u64§modify_index: u64Trait Implementations§
Source§impl Clone for AclAuthMethod
impl Clone for AclAuthMethod
Source§fn clone(&self) -> AclAuthMethod
fn clone(&self) -> AclAuthMethod
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more