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 object [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] |
RotationEventIn | Pointer to []string | How many days before the rotation of the item would you like to be notified | [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] |
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
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
func (o *RotatedSecretCreateSsh) GetAuthenticationCredentials() string
GetAuthenticationCredentials returns the AuthenticationCredentials field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetAuthenticationCredentials(v string)
SetAuthenticationCredentials sets AuthenticationCredentials field to given value.
func (o *RotatedSecretCreateSsh) HasAuthenticationCredentials() bool
HasAuthenticationCredentials returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetAutoRotate() string
GetAutoRotate returns the AutoRotate field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetAutoRotate(v string)
SetAutoRotate sets AutoRotate field to given value.
func (o *RotatedSecretCreateSsh) HasAutoRotate() bool
HasAutoRotate returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetDeleteProtection() string
GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetDeleteProtection(v string)
SetDeleteProtection sets DeleteProtection field to given value.
func (o *RotatedSecretCreateSsh) HasDeleteProtection() bool
HasDeleteProtection returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *RotatedSecretCreateSsh) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetJson(v bool)
SetJson sets Json field to given value.
func (o *RotatedSecretCreateSsh) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetKey(v string)
SetKey sets Key field to given value.
func (o *RotatedSecretCreateSsh) HasKey() bool
HasKey returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetMaxVersions() string
GetMaxVersions returns the MaxVersions field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetMaxVersions(v string)
SetMaxVersions sets MaxVersions field to given value.
func (o *RotatedSecretCreateSsh) HasMaxVersions() bool
HasMaxVersions returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetName(v string)
SetName sets Name field to given value.
func (o *RotatedSecretCreateSsh) GetPasswordLength() string
GetPasswordLength returns the PasswordLength field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetPasswordLength(v string)
SetPasswordLength sets PasswordLength field to given value.
func (o *RotatedSecretCreateSsh) HasPasswordLength() bool
HasPasswordLength returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetRotateAfterDisconnect() string
GetRotateAfterDisconnect returns the RotateAfterDisconnect field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetRotateAfterDisconnect(v string)
SetRotateAfterDisconnect sets RotateAfterDisconnect field to given value.
func (o *RotatedSecretCreateSsh) HasRotateAfterDisconnect() bool
HasRotateAfterDisconnect returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetRotatedPassword() string
GetRotatedPassword returns the RotatedPassword field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetRotatedPassword(v string)
SetRotatedPassword sets RotatedPassword field to given value.
func (o *RotatedSecretCreateSsh) HasRotatedPassword() bool
HasRotatedPassword returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetRotatedUsername() string
GetRotatedUsername returns the RotatedUsername field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetRotatedUsername(v string)
SetRotatedUsername sets RotatedUsername field to given value.
func (o *RotatedSecretCreateSsh) HasRotatedUsername() bool
HasRotatedUsername returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetRotationEventIn() []string
GetRotationEventIn returns the RotationEventIn field if non-nil, zero value otherwise.
func (o *RotatedSecretCreateSsh) GetRotationEventInOk() (*[]string, bool)
GetRotationEventInOk returns a tuple with the RotationEventIn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RotatedSecretCreateSsh) SetRotationEventIn(v []string)
SetRotationEventIn sets RotationEventIn field to given value.
func (o *RotatedSecretCreateSsh) HasRotationEventIn() bool
HasRotationEventIn returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetRotationHour() int32
GetRotationHour returns the RotationHour field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetRotationHour(v int32)
SetRotationHour sets RotationHour field to given value.
func (o *RotatedSecretCreateSsh) HasRotationHour() bool
HasRotationHour returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetRotationInterval() string
GetRotationInterval returns the RotationInterval field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetRotationInterval(v string)
SetRotationInterval sets RotationInterval field to given value.
func (o *RotatedSecretCreateSsh) HasRotationInterval() bool
HasRotationInterval returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetRotatorCustomCmd() string
GetRotatorCustomCmd returns the RotatorCustomCmd field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetRotatorCustomCmd(v string)
SetRotatorCustomCmd sets RotatorCustomCmd field to given value.
func (o *RotatedSecretCreateSsh) HasRotatorCustomCmd() bool
HasRotatorCustomCmd returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetRotatorType() string
GetRotatorType returns the RotatorType field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetRotatorType(v string)
SetRotatorType sets RotatorType field to given value.
func (o *RotatedSecretCreateSsh) GetSamePassword() string
GetSamePassword returns the SamePassword field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetSamePassword(v string)
SetSamePassword sets SamePassword field to given value.
func (o *RotatedSecretCreateSsh) HasSamePassword() bool
HasSamePassword returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetSecureAccessAllowExternalUser() bool
GetSecureAccessAllowExternalUser returns the SecureAccessAllowExternalUser field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetSecureAccessAllowExternalUser(v bool)
SetSecureAccessAllowExternalUser sets SecureAccessAllowExternalUser field to given value.
func (o *RotatedSecretCreateSsh) HasSecureAccessAllowExternalUser() bool
HasSecureAccessAllowExternalUser returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetSecureAccessBastionIssuer() string
GetSecureAccessBastionIssuer returns the SecureAccessBastionIssuer field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetSecureAccessBastionIssuer(v string)
SetSecureAccessBastionIssuer sets SecureAccessBastionIssuer field to given value.
func (o *RotatedSecretCreateSsh) HasSecureAccessBastionIssuer() bool
HasSecureAccessBastionIssuer returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetSecureAccessEnable() string
GetSecureAccessEnable returns the SecureAccessEnable field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetSecureAccessEnable(v string)
SetSecureAccessEnable sets SecureAccessEnable field to given value.
func (o *RotatedSecretCreateSsh) HasSecureAccessEnable() bool
HasSecureAccessEnable returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetSecureAccessHost() []string
GetSecureAccessHost returns the SecureAccessHost field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetSecureAccessHost(v []string)
SetSecureAccessHost sets SecureAccessHost field to given value.
func (o *RotatedSecretCreateSsh) HasSecureAccessHost() bool
HasSecureAccessHost returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetSecureAccessRdpDomain() string
GetSecureAccessRdpDomain returns the SecureAccessRdpDomain field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetSecureAccessRdpDomain(v string)
SetSecureAccessRdpDomain sets SecureAccessRdpDomain field to given value.
func (o *RotatedSecretCreateSsh) HasSecureAccessRdpDomain() bool
HasSecureAccessRdpDomain returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetSecureAccessRdpUser() string
GetSecureAccessRdpUser returns the SecureAccessRdpUser field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetSecureAccessRdpUser(v string)
SetSecureAccessRdpUser sets SecureAccessRdpUser field to given value.
func (o *RotatedSecretCreateSsh) HasSecureAccessRdpUser() bool
HasSecureAccessRdpUser returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetSecureAccessSshUser() string
GetSecureAccessSshUser returns the SecureAccessSshUser field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetSecureAccessSshUser(v string)
SetSecureAccessSshUser sets SecureAccessSshUser field to given value.
func (o *RotatedSecretCreateSsh) HasSecureAccessSshUser() bool
HasSecureAccessSshUser returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *RotatedSecretCreateSsh) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetTargetName() string
GetTargetName returns the TargetName field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetTargetName(v string)
SetTargetName sets TargetName field to given value.
func (o *RotatedSecretCreateSsh) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetToken(v string)
SetToken sets Token field to given value.
func (o *RotatedSecretCreateSsh) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *RotatedSecretCreateSsh) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
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.
func (o *RotatedSecretCreateSsh) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *RotatedSecretCreateSsh) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.