Skip to content

Latest commit

 

History

History
467 lines (252 loc) · 14.1 KB

AuthMethodUpdateLdap.md

File metadata and controls

467 lines (252 loc) · 14.1 KB

AuthMethodUpdateLdap

Properties

Name Type Description Notes
AccessExpires Pointer to int64 Access expiration date in Unix timestamp (select 0 for access without expiry date) [optional] [default to 0]
AuditLogsClaims Pointer to []string Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username" [optional]
BoundIps Pointer to []string A CIDR whitelist with the IPs that the access is restricted to [optional]
DeleteProtection Pointer to string Protection from accidental deletion of this object [true/false] [optional]
Description Pointer to string Auth Method description [optional]
ForceSubClaims Pointer to bool if true: enforce role-association must include sub claims [optional]
GenKey Pointer to string Automatically generate key-pair for LDAP configuration. If set to false, a public key needs to be provided [true/false] [optional]
GwBoundIps Pointer to []string A CIDR whitelist with the GW IPs that the access is restricted to [optional]
Json Pointer to bool Set output format to JSON [optional] [default to false]
JwtTtl Pointer to int64 Jwt TTL [optional] [default to 0]
Name string Auth Method name
NewName Pointer to string Auth Method new name [optional]
ProductType Pointer to []string Choose the relevant product type for the auth method [sm, sra, pm, dp, ca] [optional]
PublicKeyData Pointer to string A public key generated for LDAP authentication method on Akeyless in base64 or PEM format [RSA2048] [optional]
Token Pointer to string Authentication token (see `/auth` and `/configure`) [optional]
UidToken Pointer to string The universal identity token, Required only for universal_identity authentication [optional]
UniqueIdentifier Pointer to string A unique identifier (ID) value should be configured for OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a "sub claim" that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization. [optional] [default to "users"]

Methods

NewAuthMethodUpdateLdap

func NewAuthMethodUpdateLdap(name string, ) *AuthMethodUpdateLdap

NewAuthMethodUpdateLdap instantiates a new AuthMethodUpdateLdap object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewAuthMethodUpdateLdapWithDefaults

func NewAuthMethodUpdateLdapWithDefaults() *AuthMethodUpdateLdap

NewAuthMethodUpdateLdapWithDefaults instantiates a new AuthMethodUpdateLdap object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetAccessExpires

func (o *AuthMethodUpdateLdap) GetAccessExpires() int64

GetAccessExpires returns the AccessExpires field if non-nil, zero value otherwise.

GetAccessExpiresOk

func (o *AuthMethodUpdateLdap) GetAccessExpiresOk() (*int64, bool)

GetAccessExpiresOk returns a tuple with the AccessExpires field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAccessExpires

func (o *AuthMethodUpdateLdap) SetAccessExpires(v int64)

SetAccessExpires sets AccessExpires field to given value.

HasAccessExpires

func (o *AuthMethodUpdateLdap) HasAccessExpires() bool

HasAccessExpires returns a boolean if a field has been set.

GetAuditLogsClaims

func (o *AuthMethodUpdateLdap) GetAuditLogsClaims() []string

GetAuditLogsClaims returns the AuditLogsClaims field if non-nil, zero value otherwise.

GetAuditLogsClaimsOk

func (o *AuthMethodUpdateLdap) GetAuditLogsClaimsOk() (*[]string, bool)

GetAuditLogsClaimsOk returns a tuple with the AuditLogsClaims field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAuditLogsClaims

func (o *AuthMethodUpdateLdap) SetAuditLogsClaims(v []string)

SetAuditLogsClaims sets AuditLogsClaims field to given value.

HasAuditLogsClaims

func (o *AuthMethodUpdateLdap) HasAuditLogsClaims() bool

HasAuditLogsClaims returns a boolean if a field has been set.

GetBoundIps

func (o *AuthMethodUpdateLdap) GetBoundIps() []string

GetBoundIps returns the BoundIps field if non-nil, zero value otherwise.

GetBoundIpsOk

func (o *AuthMethodUpdateLdap) GetBoundIpsOk() (*[]string, bool)

GetBoundIpsOk returns a tuple with the BoundIps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBoundIps

func (o *AuthMethodUpdateLdap) SetBoundIps(v []string)

SetBoundIps sets BoundIps field to given value.

HasBoundIps

func (o *AuthMethodUpdateLdap) HasBoundIps() bool

HasBoundIps returns a boolean if a field has been set.

GetDeleteProtection

func (o *AuthMethodUpdateLdap) GetDeleteProtection() string

GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.

GetDeleteProtectionOk

func (o *AuthMethodUpdateLdap) GetDeleteProtectionOk() (*string, bool)

GetDeleteProtectionOk returns a tuple with the DeleteProtection field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDeleteProtection

func (o *AuthMethodUpdateLdap) SetDeleteProtection(v string)

SetDeleteProtection sets DeleteProtection field to given value.

HasDeleteProtection

func (o *AuthMethodUpdateLdap) HasDeleteProtection() bool

HasDeleteProtection returns a boolean if a field has been set.

GetDescription

func (o *AuthMethodUpdateLdap) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *AuthMethodUpdateLdap) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDescription

func (o *AuthMethodUpdateLdap) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *AuthMethodUpdateLdap) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetForceSubClaims

func (o *AuthMethodUpdateLdap) GetForceSubClaims() bool

GetForceSubClaims returns the ForceSubClaims field if non-nil, zero value otherwise.

GetForceSubClaimsOk

func (o *AuthMethodUpdateLdap) GetForceSubClaimsOk() (*bool, bool)

GetForceSubClaimsOk returns a tuple with the ForceSubClaims field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetForceSubClaims

func (o *AuthMethodUpdateLdap) SetForceSubClaims(v bool)

SetForceSubClaims sets ForceSubClaims field to given value.

HasForceSubClaims

func (o *AuthMethodUpdateLdap) HasForceSubClaims() bool

HasForceSubClaims returns a boolean if a field has been set.

GetGenKey

func (o *AuthMethodUpdateLdap) GetGenKey() string

GetGenKey returns the GenKey field if non-nil, zero value otherwise.

GetGenKeyOk

func (o *AuthMethodUpdateLdap) GetGenKeyOk() (*string, bool)

GetGenKeyOk returns a tuple with the GenKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGenKey

func (o *AuthMethodUpdateLdap) SetGenKey(v string)

SetGenKey sets GenKey field to given value.

HasGenKey

func (o *AuthMethodUpdateLdap) HasGenKey() bool

HasGenKey returns a boolean if a field has been set.

GetGwBoundIps

func (o *AuthMethodUpdateLdap) GetGwBoundIps() []string

GetGwBoundIps returns the GwBoundIps field if non-nil, zero value otherwise.

GetGwBoundIpsOk

func (o *AuthMethodUpdateLdap) GetGwBoundIpsOk() (*[]string, bool)

GetGwBoundIpsOk returns a tuple with the GwBoundIps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGwBoundIps

func (o *AuthMethodUpdateLdap) SetGwBoundIps(v []string)

SetGwBoundIps sets GwBoundIps field to given value.

HasGwBoundIps

func (o *AuthMethodUpdateLdap) HasGwBoundIps() bool

HasGwBoundIps returns a boolean if a field has been set.

GetJson

func (o *AuthMethodUpdateLdap) GetJson() bool

GetJson returns the Json field if non-nil, zero value otherwise.

GetJsonOk

func (o *AuthMethodUpdateLdap) GetJsonOk() (*bool, bool)

GetJsonOk returns a tuple with the Json field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetJson

func (o *AuthMethodUpdateLdap) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *AuthMethodUpdateLdap) HasJson() bool

HasJson returns a boolean if a field has been set.

GetJwtTtl

func (o *AuthMethodUpdateLdap) GetJwtTtl() int64

GetJwtTtl returns the JwtTtl field if non-nil, zero value otherwise.

GetJwtTtlOk

func (o *AuthMethodUpdateLdap) GetJwtTtlOk() (*int64, bool)

GetJwtTtlOk returns a tuple with the JwtTtl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetJwtTtl

func (o *AuthMethodUpdateLdap) SetJwtTtl(v int64)

SetJwtTtl sets JwtTtl field to given value.

HasJwtTtl

func (o *AuthMethodUpdateLdap) HasJwtTtl() bool

HasJwtTtl returns a boolean if a field has been set.

GetName

func (o *AuthMethodUpdateLdap) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *AuthMethodUpdateLdap) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *AuthMethodUpdateLdap) SetName(v string)

SetName sets Name field to given value.

GetNewName

func (o *AuthMethodUpdateLdap) GetNewName() string

GetNewName returns the NewName field if non-nil, zero value otherwise.

GetNewNameOk

func (o *AuthMethodUpdateLdap) GetNewNameOk() (*string, bool)

GetNewNameOk returns a tuple with the NewName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNewName

func (o *AuthMethodUpdateLdap) SetNewName(v string)

SetNewName sets NewName field to given value.

HasNewName

func (o *AuthMethodUpdateLdap) HasNewName() bool

HasNewName returns a boolean if a field has been set.

GetProductType

func (o *AuthMethodUpdateLdap) GetProductType() []string

GetProductType returns the ProductType field if non-nil, zero value otherwise.

GetProductTypeOk

func (o *AuthMethodUpdateLdap) GetProductTypeOk() (*[]string, bool)

GetProductTypeOk returns a tuple with the ProductType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProductType

func (o *AuthMethodUpdateLdap) SetProductType(v []string)

SetProductType sets ProductType field to given value.

HasProductType

func (o *AuthMethodUpdateLdap) HasProductType() bool

HasProductType returns a boolean if a field has been set.

GetPublicKeyData

func (o *AuthMethodUpdateLdap) GetPublicKeyData() string

GetPublicKeyData returns the PublicKeyData field if non-nil, zero value otherwise.

GetPublicKeyDataOk

func (o *AuthMethodUpdateLdap) GetPublicKeyDataOk() (*string, bool)

GetPublicKeyDataOk returns a tuple with the PublicKeyData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPublicKeyData

func (o *AuthMethodUpdateLdap) SetPublicKeyData(v string)

SetPublicKeyData sets PublicKeyData field to given value.

HasPublicKeyData

func (o *AuthMethodUpdateLdap) HasPublicKeyData() bool

HasPublicKeyData returns a boolean if a field has been set.

GetToken

func (o *AuthMethodUpdateLdap) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

func (o *AuthMethodUpdateLdap) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetToken

func (o *AuthMethodUpdateLdap) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *AuthMethodUpdateLdap) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *AuthMethodUpdateLdap) GetUidToken() string

GetUidToken returns the UidToken field if non-nil, zero value otherwise.

GetUidTokenOk

func (o *AuthMethodUpdateLdap) GetUidTokenOk() (*string, bool)

GetUidTokenOk returns a tuple with the UidToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUidToken

func (o *AuthMethodUpdateLdap) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *AuthMethodUpdateLdap) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

GetUniqueIdentifier

func (o *AuthMethodUpdateLdap) GetUniqueIdentifier() string

GetUniqueIdentifier returns the UniqueIdentifier field if non-nil, zero value otherwise.

GetUniqueIdentifierOk

func (o *AuthMethodUpdateLdap) GetUniqueIdentifierOk() (*string, bool)

GetUniqueIdentifierOk returns a tuple with the UniqueIdentifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUniqueIdentifier

func (o *AuthMethodUpdateLdap) SetUniqueIdentifier(v string)

SetUniqueIdentifier sets UniqueIdentifier field to given value.

HasUniqueIdentifier

func (o *AuthMethodUpdateLdap) HasUniqueIdentifier() bool

HasUniqueIdentifier returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]