Skip to content

Latest commit

 

History

History
675 lines (364 loc) · 21.7 KB

RotatedSecretUpdateMongodb.md

File metadata and controls

675 lines (364 loc) · 21.7 KB

RotatedSecretUpdateMongodb

Properties

Name Type Description Notes
AddTag Pointer to []string List of the new tags that will be attached to this item [optional]
AuthenticationCredentials Pointer to string The credentials to connect with use-user-creds/use-target-creds [optional] [default to "use-user-creds"]
AutoRotate Pointer to string Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false] [optional]
DeleteProtection Pointer to string Protection from accidental deletion of this item [true/false] [optional]
Description Pointer to string Description of the object [optional] [default to "default_metadata"]
Json Pointer to bool Set output format to JSON [optional] [default to false]
KeepPrevVersion Pointer to string Whether to keep previous version [true/false]. If not set, use default according to account settings [optional]
Key Pointer to string The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used) [optional]
MaxVersions Pointer to string Set the maximum number of versions, limited by the account settings defaults. [optional]
Name string Rotated secret name
NewName Pointer to string New item name [optional]
PasswordLength Pointer to string The length of the password to be generated [optional]
RmTag Pointer to []string List of the existent tags that will be removed from this item [optional]
RotateAfterDisconnect Pointer to string Rotate the value of the secret after SRA session ends [true/false] [optional] [default to "false"]
RotatedPassword Pointer to string rotated-username password (relevant only for rotator-type=password) [optional]
RotatedUsername Pointer to string username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password) [optional]
RotationHour Pointer to int32 The Hour of the rotation in UTC [optional]
RotationInterval Pointer to string The number of days to wait between every automatic key rotation (1-365) [optional]
SecureAccessBastionIssuer Pointer to string Path to the SSH Certificate Issuer for your Akeyless Bastion [optional]
SecureAccessDbName Pointer to string The DB name (relevant only for DB Dynamic-Secret) [optional]
SecureAccessEnable Pointer to string Enable/Disable secure remote access [true/false] [optional]
SecureAccessHost Pointer to []string Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers) [optional]
SecureAccessWeb Pointer to bool Enable Web Secure Remote Access [optional] [default to false]
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]

Methods

NewRotatedSecretUpdateMongodb

func NewRotatedSecretUpdateMongodb(name string, ) *RotatedSecretUpdateMongodb

NewRotatedSecretUpdateMongodb instantiates a new RotatedSecretUpdateMongodb 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

NewRotatedSecretUpdateMongodbWithDefaults

func NewRotatedSecretUpdateMongodbWithDefaults() *RotatedSecretUpdateMongodb

NewRotatedSecretUpdateMongodbWithDefaults instantiates a new RotatedSecretUpdateMongodb 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

GetAddTag

func (o *RotatedSecretUpdateMongodb) GetAddTag() []string

GetAddTag returns the AddTag field if non-nil, zero value otherwise.

GetAddTagOk

func (o *RotatedSecretUpdateMongodb) GetAddTagOk() (*[]string, bool)

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

SetAddTag

func (o *RotatedSecretUpdateMongodb) SetAddTag(v []string)

SetAddTag sets AddTag field to given value.

HasAddTag

func (o *RotatedSecretUpdateMongodb) HasAddTag() bool

HasAddTag returns a boolean if a field has been set.

GetAuthenticationCredentials

func (o *RotatedSecretUpdateMongodb) GetAuthenticationCredentials() string

GetAuthenticationCredentials returns the AuthenticationCredentials field if non-nil, zero value otherwise.

GetAuthenticationCredentialsOk

func (o *RotatedSecretUpdateMongodb) GetAuthenticationCredentialsOk() (*string, bool)

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

SetAuthenticationCredentials

func (o *RotatedSecretUpdateMongodb) SetAuthenticationCredentials(v string)

SetAuthenticationCredentials sets AuthenticationCredentials field to given value.

HasAuthenticationCredentials

func (o *RotatedSecretUpdateMongodb) HasAuthenticationCredentials() bool

HasAuthenticationCredentials returns a boolean if a field has been set.

GetAutoRotate

func (o *RotatedSecretUpdateMongodb) GetAutoRotate() string

GetAutoRotate returns the AutoRotate field if non-nil, zero value otherwise.

GetAutoRotateOk

func (o *RotatedSecretUpdateMongodb) GetAutoRotateOk() (*string, bool)

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

SetAutoRotate

func (o *RotatedSecretUpdateMongodb) SetAutoRotate(v string)

SetAutoRotate sets AutoRotate field to given value.

HasAutoRotate

func (o *RotatedSecretUpdateMongodb) HasAutoRotate() bool

HasAutoRotate returns a boolean if a field has been set.

GetDeleteProtection

func (o *RotatedSecretUpdateMongodb) GetDeleteProtection() string

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

GetDeleteProtectionOk

func (o *RotatedSecretUpdateMongodb) 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 *RotatedSecretUpdateMongodb) SetDeleteProtection(v string)

SetDeleteProtection sets DeleteProtection field to given value.

HasDeleteProtection

func (o *RotatedSecretUpdateMongodb) HasDeleteProtection() bool

HasDeleteProtection returns a boolean if a field has been set.

GetDescription

func (o *RotatedSecretUpdateMongodb) GetDescription() string

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

GetDescriptionOk

func (o *RotatedSecretUpdateMongodb) 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 *RotatedSecretUpdateMongodb) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *RotatedSecretUpdateMongodb) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetJson

func (o *RotatedSecretUpdateMongodb) GetJson() bool

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

GetJsonOk

func (o *RotatedSecretUpdateMongodb) 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 *RotatedSecretUpdateMongodb) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *RotatedSecretUpdateMongodb) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKeepPrevVersion

func (o *RotatedSecretUpdateMongodb) GetKeepPrevVersion() string

GetKeepPrevVersion returns the KeepPrevVersion field if non-nil, zero value otherwise.

GetKeepPrevVersionOk

func (o *RotatedSecretUpdateMongodb) GetKeepPrevVersionOk() (*string, bool)

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

SetKeepPrevVersion

func (o *RotatedSecretUpdateMongodb) SetKeepPrevVersion(v string)

SetKeepPrevVersion sets KeepPrevVersion field to given value.

HasKeepPrevVersion

func (o *RotatedSecretUpdateMongodb) HasKeepPrevVersion() bool

HasKeepPrevVersion returns a boolean if a field has been set.

GetKey

func (o *RotatedSecretUpdateMongodb) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

func (o *RotatedSecretUpdateMongodb) GetKeyOk() (*string, bool)

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

SetKey

func (o *RotatedSecretUpdateMongodb) SetKey(v string)

SetKey sets Key field to given value.

HasKey

func (o *RotatedSecretUpdateMongodb) HasKey() bool

HasKey returns a boolean if a field has been set.

GetMaxVersions

func (o *RotatedSecretUpdateMongodb) GetMaxVersions() string

GetMaxVersions returns the MaxVersions field if non-nil, zero value otherwise.

GetMaxVersionsOk

func (o *RotatedSecretUpdateMongodb) GetMaxVersionsOk() (*string, bool)

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

SetMaxVersions

func (o *RotatedSecretUpdateMongodb) SetMaxVersions(v string)

SetMaxVersions sets MaxVersions field to given value.

HasMaxVersions

func (o *RotatedSecretUpdateMongodb) HasMaxVersions() bool

HasMaxVersions returns a boolean if a field has been set.

GetName

func (o *RotatedSecretUpdateMongodb) GetName() string

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

GetNameOk

func (o *RotatedSecretUpdateMongodb) 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 *RotatedSecretUpdateMongodb) SetName(v string)

SetName sets Name field to given value.

GetNewName

func (o *RotatedSecretUpdateMongodb) GetNewName() string

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

GetNewNameOk

func (o *RotatedSecretUpdateMongodb) 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 *RotatedSecretUpdateMongodb) SetNewName(v string)

SetNewName sets NewName field to given value.

HasNewName

func (o *RotatedSecretUpdateMongodb) HasNewName() bool

HasNewName returns a boolean if a field has been set.

GetPasswordLength

func (o *RotatedSecretUpdateMongodb) GetPasswordLength() string

GetPasswordLength returns the PasswordLength field if non-nil, zero value otherwise.

GetPasswordLengthOk

func (o *RotatedSecretUpdateMongodb) GetPasswordLengthOk() (*string, bool)

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

SetPasswordLength

func (o *RotatedSecretUpdateMongodb) SetPasswordLength(v string)

SetPasswordLength sets PasswordLength field to given value.

HasPasswordLength

func (o *RotatedSecretUpdateMongodb) HasPasswordLength() bool

HasPasswordLength returns a boolean if a field has been set.

GetRmTag

func (o *RotatedSecretUpdateMongodb) GetRmTag() []string

GetRmTag returns the RmTag field if non-nil, zero value otherwise.

GetRmTagOk

func (o *RotatedSecretUpdateMongodb) GetRmTagOk() (*[]string, bool)

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

SetRmTag

func (o *RotatedSecretUpdateMongodb) SetRmTag(v []string)

SetRmTag sets RmTag field to given value.

HasRmTag

func (o *RotatedSecretUpdateMongodb) HasRmTag() bool

HasRmTag returns a boolean if a field has been set.

GetRotateAfterDisconnect

func (o *RotatedSecretUpdateMongodb) GetRotateAfterDisconnect() string

GetRotateAfterDisconnect returns the RotateAfterDisconnect field if non-nil, zero value otherwise.

GetRotateAfterDisconnectOk

func (o *RotatedSecretUpdateMongodb) GetRotateAfterDisconnectOk() (*string, bool)

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

SetRotateAfterDisconnect

func (o *RotatedSecretUpdateMongodb) SetRotateAfterDisconnect(v string)

SetRotateAfterDisconnect sets RotateAfterDisconnect field to given value.

HasRotateAfterDisconnect

func (o *RotatedSecretUpdateMongodb) HasRotateAfterDisconnect() bool

HasRotateAfterDisconnect returns a boolean if a field has been set.

GetRotatedPassword

func (o *RotatedSecretUpdateMongodb) GetRotatedPassword() string

GetRotatedPassword returns the RotatedPassword field if non-nil, zero value otherwise.

GetRotatedPasswordOk

func (o *RotatedSecretUpdateMongodb) GetRotatedPasswordOk() (*string, bool)

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

SetRotatedPassword

func (o *RotatedSecretUpdateMongodb) SetRotatedPassword(v string)

SetRotatedPassword sets RotatedPassword field to given value.

HasRotatedPassword

func (o *RotatedSecretUpdateMongodb) HasRotatedPassword() bool

HasRotatedPassword returns a boolean if a field has been set.

GetRotatedUsername

func (o *RotatedSecretUpdateMongodb) GetRotatedUsername() string

GetRotatedUsername returns the RotatedUsername field if non-nil, zero value otherwise.

GetRotatedUsernameOk

func (o *RotatedSecretUpdateMongodb) GetRotatedUsernameOk() (*string, bool)

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

SetRotatedUsername

func (o *RotatedSecretUpdateMongodb) SetRotatedUsername(v string)

SetRotatedUsername sets RotatedUsername field to given value.

HasRotatedUsername

func (o *RotatedSecretUpdateMongodb) HasRotatedUsername() bool

HasRotatedUsername returns a boolean if a field has been set.

GetRotationHour

func (o *RotatedSecretUpdateMongodb) GetRotationHour() int32

GetRotationHour returns the RotationHour field if non-nil, zero value otherwise.

GetRotationHourOk

func (o *RotatedSecretUpdateMongodb) GetRotationHourOk() (*int32, bool)

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

SetRotationHour

func (o *RotatedSecretUpdateMongodb) SetRotationHour(v int32)

SetRotationHour sets RotationHour field to given value.

HasRotationHour

func (o *RotatedSecretUpdateMongodb) HasRotationHour() bool

HasRotationHour returns a boolean if a field has been set.

GetRotationInterval

func (o *RotatedSecretUpdateMongodb) GetRotationInterval() string

GetRotationInterval returns the RotationInterval field if non-nil, zero value otherwise.

GetRotationIntervalOk

func (o *RotatedSecretUpdateMongodb) GetRotationIntervalOk() (*string, bool)

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

SetRotationInterval

func (o *RotatedSecretUpdateMongodb) SetRotationInterval(v string)

SetRotationInterval sets RotationInterval field to given value.

HasRotationInterval

func (o *RotatedSecretUpdateMongodb) HasRotationInterval() bool

HasRotationInterval returns a boolean if a field has been set.

GetSecureAccessBastionIssuer

func (o *RotatedSecretUpdateMongodb) GetSecureAccessBastionIssuer() string

GetSecureAccessBastionIssuer returns the SecureAccessBastionIssuer field if non-nil, zero value otherwise.

GetSecureAccessBastionIssuerOk

func (o *RotatedSecretUpdateMongodb) GetSecureAccessBastionIssuerOk() (*string, bool)

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

SetSecureAccessBastionIssuer

func (o *RotatedSecretUpdateMongodb) SetSecureAccessBastionIssuer(v string)

SetSecureAccessBastionIssuer sets SecureAccessBastionIssuer field to given value.

HasSecureAccessBastionIssuer

func (o *RotatedSecretUpdateMongodb) HasSecureAccessBastionIssuer() bool

HasSecureAccessBastionIssuer returns a boolean if a field has been set.

GetSecureAccessDbName

func (o *RotatedSecretUpdateMongodb) GetSecureAccessDbName() string

GetSecureAccessDbName returns the SecureAccessDbName field if non-nil, zero value otherwise.

GetSecureAccessDbNameOk

func (o *RotatedSecretUpdateMongodb) GetSecureAccessDbNameOk() (*string, bool)

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

SetSecureAccessDbName

func (o *RotatedSecretUpdateMongodb) SetSecureAccessDbName(v string)

SetSecureAccessDbName sets SecureAccessDbName field to given value.

HasSecureAccessDbName

func (o *RotatedSecretUpdateMongodb) HasSecureAccessDbName() bool

HasSecureAccessDbName returns a boolean if a field has been set.

GetSecureAccessEnable

func (o *RotatedSecretUpdateMongodb) GetSecureAccessEnable() string

GetSecureAccessEnable returns the SecureAccessEnable field if non-nil, zero value otherwise.

GetSecureAccessEnableOk

func (o *RotatedSecretUpdateMongodb) GetSecureAccessEnableOk() (*string, bool)

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

SetSecureAccessEnable

func (o *RotatedSecretUpdateMongodb) SetSecureAccessEnable(v string)

SetSecureAccessEnable sets SecureAccessEnable field to given value.

HasSecureAccessEnable

func (o *RotatedSecretUpdateMongodb) HasSecureAccessEnable() bool

HasSecureAccessEnable returns a boolean if a field has been set.

GetSecureAccessHost

func (o *RotatedSecretUpdateMongodb) GetSecureAccessHost() []string

GetSecureAccessHost returns the SecureAccessHost field if non-nil, zero value otherwise.

GetSecureAccessHostOk

func (o *RotatedSecretUpdateMongodb) GetSecureAccessHostOk() (*[]string, bool)

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

SetSecureAccessHost

func (o *RotatedSecretUpdateMongodb) SetSecureAccessHost(v []string)

SetSecureAccessHost sets SecureAccessHost field to given value.

HasSecureAccessHost

func (o *RotatedSecretUpdateMongodb) HasSecureAccessHost() bool

HasSecureAccessHost returns a boolean if a field has been set.

GetSecureAccessWeb

func (o *RotatedSecretUpdateMongodb) GetSecureAccessWeb() bool

GetSecureAccessWeb returns the SecureAccessWeb field if non-nil, zero value otherwise.

GetSecureAccessWebOk

func (o *RotatedSecretUpdateMongodb) GetSecureAccessWebOk() (*bool, bool)

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

SetSecureAccessWeb

func (o *RotatedSecretUpdateMongodb) SetSecureAccessWeb(v bool)

SetSecureAccessWeb sets SecureAccessWeb field to given value.

HasSecureAccessWeb

func (o *RotatedSecretUpdateMongodb) HasSecureAccessWeb() bool

HasSecureAccessWeb returns a boolean if a field has been set.

GetToken

func (o *RotatedSecretUpdateMongodb) GetToken() string

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

GetTokenOk

func (o *RotatedSecretUpdateMongodb) 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 *RotatedSecretUpdateMongodb) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *RotatedSecretUpdateMongodb) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *RotatedSecretUpdateMongodb) GetUidToken() string

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

GetUidTokenOk

func (o *RotatedSecretUpdateMongodb) 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 *RotatedSecretUpdateMongodb) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *RotatedSecretUpdateMongodb) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

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