Skip to content

Latest commit

 

History

History
743 lines (400 loc) · 23.8 KB

RotatedSecretCreateSsh.md

File metadata and controls

743 lines (400 loc) · 23.8 KB

RotatedSecretCreateSsh

Properties

Name Type Description Notes
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]
Json Pointer to bool Set output format to JSON [optional] [default to false]
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
PasswordLength Pointer to string The length of the password to be generated [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]
RotatorCustomCmd Pointer to string Custom rotation command [optional]
RotatorType string The rotator type. options: [target/password]
SamePassword Pointer to string Rotate same password for each host from the Linked Target (relevant only for Linked Target) [optional]
SecureAccessAllowExternalUser Pointer to bool Allow providing external user for a domain users [optional] [default to false]
SecureAccessBastionIssuer Pointer to string Path to the SSH Certificate Issuer for your Akeyless Bastion [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]
SecureAccessRdpDomain Pointer to string Default domain name server. i.e. microsoft.com [optional]
SecureAccessRdpUser Pointer to string Override the RDP Domain username [optional]
SecureAccessSshUser Pointer to string Override the SSH username as indicated in SSH Certificate Issuer [optional]
Tags Pointer to []string Add tags attached to this object [optional]
TargetName string Target name
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

NewRotatedSecretCreateSsh

func NewRotatedSecretCreateSsh(name string, rotatorType string, targetName string, ) *RotatedSecretCreateSsh

NewRotatedSecretCreateSsh instantiates a new RotatedSecretCreateSsh 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

NewRotatedSecretCreateSshWithDefaults

func NewRotatedSecretCreateSshWithDefaults() *RotatedSecretCreateSsh

NewRotatedSecretCreateSshWithDefaults instantiates a new RotatedSecretCreateSsh 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

GetAuthenticationCredentials

func (o *RotatedSecretCreateSsh) GetAuthenticationCredentials() string

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

GetAuthenticationCredentialsOk

func (o *RotatedSecretCreateSsh) 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 *RotatedSecretCreateSsh) SetAuthenticationCredentials(v string)

SetAuthenticationCredentials sets AuthenticationCredentials field to given value.

HasAuthenticationCredentials

func (o *RotatedSecretCreateSsh) HasAuthenticationCredentials() bool

HasAuthenticationCredentials returns a boolean if a field has been set.

GetAutoRotate

func (o *RotatedSecretCreateSsh) GetAutoRotate() string

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

GetAutoRotateOk

func (o *RotatedSecretCreateSsh) 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 *RotatedSecretCreateSsh) SetAutoRotate(v string)

SetAutoRotate sets AutoRotate field to given value.

HasAutoRotate

func (o *RotatedSecretCreateSsh) HasAutoRotate() bool

HasAutoRotate returns a boolean if a field has been set.

GetDeleteProtection

func (o *RotatedSecretCreateSsh) GetDeleteProtection() string

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

GetDeleteProtectionOk

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

SetDeleteProtection sets DeleteProtection field to given value.

HasDeleteProtection

func (o *RotatedSecretCreateSsh) HasDeleteProtection() bool

HasDeleteProtection returns a boolean if a field has been set.

GetDescription

func (o *RotatedSecretCreateSsh) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *RotatedSecretCreateSsh) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetJson

func (o *RotatedSecretCreateSsh) GetJson() bool

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

GetJsonOk

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

SetJson sets Json field to given value.

HasJson

func (o *RotatedSecretCreateSsh) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKey

func (o *RotatedSecretCreateSsh) GetKey() string

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

GetKeyOk

func (o *RotatedSecretCreateSsh) 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 *RotatedSecretCreateSsh) SetKey(v string)

SetKey sets Key field to given value.

HasKey

func (o *RotatedSecretCreateSsh) HasKey() bool

HasKey returns a boolean if a field has been set.

GetMaxVersions

func (o *RotatedSecretCreateSsh) GetMaxVersions() string

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

GetMaxVersionsOk

func (o *RotatedSecretCreateSsh) 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 *RotatedSecretCreateSsh) SetMaxVersions(v string)

SetMaxVersions sets MaxVersions field to given value.

HasMaxVersions

func (o *RotatedSecretCreateSsh) HasMaxVersions() bool

HasMaxVersions returns a boolean if a field has been set.

GetName

func (o *RotatedSecretCreateSsh) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetPasswordLength

func (o *RotatedSecretCreateSsh) GetPasswordLength() string

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

GetPasswordLengthOk

func (o *RotatedSecretCreateSsh) 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 *RotatedSecretCreateSsh) SetPasswordLength(v string)

SetPasswordLength sets PasswordLength field to given value.

HasPasswordLength

func (o *RotatedSecretCreateSsh) HasPasswordLength() bool

HasPasswordLength returns a boolean if a field has been set.

GetRotateAfterDisconnect

func (o *RotatedSecretCreateSsh) GetRotateAfterDisconnect() string

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

GetRotateAfterDisconnectOk

func (o *RotatedSecretCreateSsh) 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 *RotatedSecretCreateSsh) SetRotateAfterDisconnect(v string)

SetRotateAfterDisconnect sets RotateAfterDisconnect field to given value.

HasRotateAfterDisconnect

func (o *RotatedSecretCreateSsh) HasRotateAfterDisconnect() bool

HasRotateAfterDisconnect returns a boolean if a field has been set.

GetRotatedPassword

func (o *RotatedSecretCreateSsh) GetRotatedPassword() string

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

GetRotatedPasswordOk

func (o *RotatedSecretCreateSsh) 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 *RotatedSecretCreateSsh) SetRotatedPassword(v string)

SetRotatedPassword sets RotatedPassword field to given value.

HasRotatedPassword

func (o *RotatedSecretCreateSsh) HasRotatedPassword() bool

HasRotatedPassword returns a boolean if a field has been set.

GetRotatedUsername

func (o *RotatedSecretCreateSsh) GetRotatedUsername() string

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

GetRotatedUsernameOk

func (o *RotatedSecretCreateSsh) 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 *RotatedSecretCreateSsh) SetRotatedUsername(v string)

SetRotatedUsername sets RotatedUsername field to given value.

HasRotatedUsername

func (o *RotatedSecretCreateSsh) HasRotatedUsername() bool

HasRotatedUsername returns a boolean if a field has been set.

GetRotationHour

func (o *RotatedSecretCreateSsh) GetRotationHour() int32

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

GetRotationHourOk

func (o *RotatedSecretCreateSsh) 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 *RotatedSecretCreateSsh) SetRotationHour(v int32)

SetRotationHour sets RotationHour field to given value.

HasRotationHour

func (o *RotatedSecretCreateSsh) HasRotationHour() bool

HasRotationHour returns a boolean if a field has been set.

GetRotationInterval

func (o *RotatedSecretCreateSsh) GetRotationInterval() string

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

GetRotationIntervalOk

func (o *RotatedSecretCreateSsh) 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 *RotatedSecretCreateSsh) SetRotationInterval(v string)

SetRotationInterval sets RotationInterval field to given value.

HasRotationInterval

func (o *RotatedSecretCreateSsh) HasRotationInterval() bool

HasRotationInterval returns a boolean if a field has been set.

GetRotatorCustomCmd

func (o *RotatedSecretCreateSsh) GetRotatorCustomCmd() string

GetRotatorCustomCmd returns the RotatorCustomCmd field if non-nil, zero value otherwise.

GetRotatorCustomCmdOk

func (o *RotatedSecretCreateSsh) GetRotatorCustomCmdOk() (*string, bool)

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

SetRotatorCustomCmd

func (o *RotatedSecretCreateSsh) SetRotatorCustomCmd(v string)

SetRotatorCustomCmd sets RotatorCustomCmd field to given value.

HasRotatorCustomCmd

func (o *RotatedSecretCreateSsh) HasRotatorCustomCmd() bool

HasRotatorCustomCmd returns a boolean if a field has been set.

GetRotatorType

func (o *RotatedSecretCreateSsh) GetRotatorType() string

GetRotatorType returns the RotatorType field if non-nil, zero value otherwise.

GetRotatorTypeOk

func (o *RotatedSecretCreateSsh) GetRotatorTypeOk() (*string, bool)

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

SetRotatorType

func (o *RotatedSecretCreateSsh) SetRotatorType(v string)

SetRotatorType sets RotatorType field to given value.

GetSamePassword

func (o *RotatedSecretCreateSsh) GetSamePassword() string

GetSamePassword returns the SamePassword field if non-nil, zero value otherwise.

GetSamePasswordOk

func (o *RotatedSecretCreateSsh) GetSamePasswordOk() (*string, bool)

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

SetSamePassword

func (o *RotatedSecretCreateSsh) SetSamePassword(v string)

SetSamePassword sets SamePassword field to given value.

HasSamePassword

func (o *RotatedSecretCreateSsh) HasSamePassword() bool

HasSamePassword returns a boolean if a field has been set.

GetSecureAccessAllowExternalUser

func (o *RotatedSecretCreateSsh) GetSecureAccessAllowExternalUser() bool

GetSecureAccessAllowExternalUser returns the SecureAccessAllowExternalUser field if non-nil, zero value otherwise.

GetSecureAccessAllowExternalUserOk

func (o *RotatedSecretCreateSsh) GetSecureAccessAllowExternalUserOk() (*bool, bool)

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

SetSecureAccessAllowExternalUser

func (o *RotatedSecretCreateSsh) SetSecureAccessAllowExternalUser(v bool)

SetSecureAccessAllowExternalUser sets SecureAccessAllowExternalUser field to given value.

HasSecureAccessAllowExternalUser

func (o *RotatedSecretCreateSsh) HasSecureAccessAllowExternalUser() bool

HasSecureAccessAllowExternalUser returns a boolean if a field has been set.

GetSecureAccessBastionIssuer

func (o *RotatedSecretCreateSsh) GetSecureAccessBastionIssuer() string

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

GetSecureAccessBastionIssuerOk

func (o *RotatedSecretCreateSsh) 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 *RotatedSecretCreateSsh) SetSecureAccessBastionIssuer(v string)

SetSecureAccessBastionIssuer sets SecureAccessBastionIssuer field to given value.

HasSecureAccessBastionIssuer

func (o *RotatedSecretCreateSsh) HasSecureAccessBastionIssuer() bool

HasSecureAccessBastionIssuer returns a boolean if a field has been set.

GetSecureAccessEnable

func (o *RotatedSecretCreateSsh) GetSecureAccessEnable() string

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

GetSecureAccessEnableOk

func (o *RotatedSecretCreateSsh) 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 *RotatedSecretCreateSsh) SetSecureAccessEnable(v string)

SetSecureAccessEnable sets SecureAccessEnable field to given value.

HasSecureAccessEnable

func (o *RotatedSecretCreateSsh) HasSecureAccessEnable() bool

HasSecureAccessEnable returns a boolean if a field has been set.

GetSecureAccessHost

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

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

GetSecureAccessHostOk

func (o *RotatedSecretCreateSsh) 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 *RotatedSecretCreateSsh) SetSecureAccessHost(v []string)

SetSecureAccessHost sets SecureAccessHost field to given value.

HasSecureAccessHost

func (o *RotatedSecretCreateSsh) HasSecureAccessHost() bool

HasSecureAccessHost returns a boolean if a field has been set.

GetSecureAccessRdpDomain

func (o *RotatedSecretCreateSsh) GetSecureAccessRdpDomain() string

GetSecureAccessRdpDomain returns the SecureAccessRdpDomain field if non-nil, zero value otherwise.

GetSecureAccessRdpDomainOk

func (o *RotatedSecretCreateSsh) GetSecureAccessRdpDomainOk() (*string, bool)

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

SetSecureAccessRdpDomain

func (o *RotatedSecretCreateSsh) SetSecureAccessRdpDomain(v string)

SetSecureAccessRdpDomain sets SecureAccessRdpDomain field to given value.

HasSecureAccessRdpDomain

func (o *RotatedSecretCreateSsh) HasSecureAccessRdpDomain() bool

HasSecureAccessRdpDomain returns a boolean if a field has been set.

GetSecureAccessRdpUser

func (o *RotatedSecretCreateSsh) GetSecureAccessRdpUser() string

GetSecureAccessRdpUser returns the SecureAccessRdpUser field if non-nil, zero value otherwise.

GetSecureAccessRdpUserOk

func (o *RotatedSecretCreateSsh) GetSecureAccessRdpUserOk() (*string, bool)

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

SetSecureAccessRdpUser

func (o *RotatedSecretCreateSsh) SetSecureAccessRdpUser(v string)

SetSecureAccessRdpUser sets SecureAccessRdpUser field to given value.

HasSecureAccessRdpUser

func (o *RotatedSecretCreateSsh) HasSecureAccessRdpUser() bool

HasSecureAccessRdpUser returns a boolean if a field has been set.

GetSecureAccessSshUser

func (o *RotatedSecretCreateSsh) GetSecureAccessSshUser() string

GetSecureAccessSshUser returns the SecureAccessSshUser field if non-nil, zero value otherwise.

GetSecureAccessSshUserOk

func (o *RotatedSecretCreateSsh) GetSecureAccessSshUserOk() (*string, bool)

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

SetSecureAccessSshUser

func (o *RotatedSecretCreateSsh) SetSecureAccessSshUser(v string)

SetSecureAccessSshUser sets SecureAccessSshUser field to given value.

HasSecureAccessSshUser

func (o *RotatedSecretCreateSsh) HasSecureAccessSshUser() bool

HasSecureAccessSshUser returns a boolean if a field has been set.

GetTags

func (o *RotatedSecretCreateSsh) GetTags() []string

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *RotatedSecretCreateSsh) GetTagsOk() (*[]string, bool)

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

SetTags

func (o *RotatedSecretCreateSsh) SetTags(v []string)

SetTags sets Tags field to given value.

HasTags

func (o *RotatedSecretCreateSsh) HasTags() bool

HasTags returns a boolean if a field has been set.

GetTargetName

func (o *RotatedSecretCreateSsh) GetTargetName() string

GetTargetName returns the TargetName field if non-nil, zero value otherwise.

GetTargetNameOk

func (o *RotatedSecretCreateSsh) GetTargetNameOk() (*string, bool)

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

SetTargetName

func (o *RotatedSecretCreateSsh) SetTargetName(v string)

SetTargetName sets TargetName field to given value.

GetToken

func (o *RotatedSecretCreateSsh) GetToken() string

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

GetTokenOk

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

SetToken sets Token field to given value.

HasToken

func (o *RotatedSecretCreateSsh) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *RotatedSecretCreateSsh) GetUidToken() string

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

GetUidTokenOk

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

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *RotatedSecretCreateSsh) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

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