pub struct GatewayUpdateAllowedAccess {
pub sub_claims_case_insensitive: Option<bool>,
pub access_id: String,
pub case_sensitive: Option<String>,
pub description: Option<String>,
pub json: Option<bool>,
pub name: String,
pub new_name: Option<String>,
pub permissions: Option<String>,
pub sub_claims: Option<HashMap<String, String>>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
GatewayUpdateAllowedAccess : gatewayUpdateAllowedAccess is a command that update allowed access in Gator
Fields§
§sub_claims_case_insensitive: Option<bool>§access_id: StringAccess ID The access id to be attached to this allowed access. Auth method with this access id should already exist.
case_sensitive: Option<String>Treat sub claims as case-sensitive [true/false]
description: Option<String>Allowed access description
json: Option<bool>Set output format to JSON
name: StringAllowed access name
new_name: Option<String>New allowed access name
permissions: Option<String>Permissions Comma-seperated list of permissions for this allowed access. Available permissions: [defaults,targets,classic_keys,automatic_migration,ldap_auth,dynamic_secret,k8s_auth,log_forwarding,zero_knowledge_encryption,rotated_secret,caching,event_forwarding,admin,kmip,general,rotate_secret_value]
sub_claims: Option<HashMap<String, String>>Sub claims key/val of sub claims, e.g group=admins,developers
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl GatewayUpdateAllowedAccess
impl GatewayUpdateAllowedAccess
Sourcepub fn new(access_id: String, name: String) -> GatewayUpdateAllowedAccess
pub fn new(access_id: String, name: String) -> GatewayUpdateAllowedAccess
gatewayUpdateAllowedAccess is a command that update allowed access in Gator
Trait Implementations§
Source§impl Clone for GatewayUpdateAllowedAccess
impl Clone for GatewayUpdateAllowedAccess
Source§fn clone(&self) -> GatewayUpdateAllowedAccess
fn clone(&self) -> GatewayUpdateAllowedAccess
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 GatewayUpdateAllowedAccess
impl Debug for GatewayUpdateAllowedAccess
Source§impl Default for GatewayUpdateAllowedAccess
impl Default for GatewayUpdateAllowedAccess
Source§fn default() -> GatewayUpdateAllowedAccess
fn default() -> GatewayUpdateAllowedAccess
Source§impl<'de> Deserialize<'de> for GatewayUpdateAllowedAccess
impl<'de> Deserialize<'de> for GatewayUpdateAllowedAccess
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for GatewayUpdateAllowedAccess
impl PartialEq for GatewayUpdateAllowedAccess
Source§fn eq(&self, other: &GatewayUpdateAllowedAccess) -> bool
fn eq(&self, other: &GatewayUpdateAllowedAccess) -> bool
self and other values to be equal, and is used by ==.