Skip to content

Latest commit

 

History

History
691 lines (372 loc) · 21.3 KB

RotatedSecretCreateAws.md

File metadata and controls

691 lines (372 loc) · 21.3 KB

RotatedSecretCreateAws

Properties

Name Type Description Notes
ApiId Pointer to string API ID to rotate (relevant only for rotator-type=api-key) [optional]
ApiKey Pointer to string API key to rotate (relevant only for rotator-type=api-key) [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]
AwsRegion Pointer to string Aws Region [optional] [default to "us-east-2"]
DeleteProtection Pointer to string Protection from accidental deletion of this object [true/false] [optional]
Description Pointer to string Description of the object [optional]
GraceRotation Pointer to string Create a new access key without deleting the old key from AWS for backup (relevant only for AWS) [true/false] [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"]
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]
RotatorType string The rotator type. options: [target/api-key]
SecureAccessAwsAccountId Pointer to string The AWS account id [optional]
SecureAccessAwsNativeCli Pointer to bool The AWS native cli [optional]
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]
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

NewRotatedSecretCreateAws

func NewRotatedSecretCreateAws(name string, rotatorType string, targetName string, ) *RotatedSecretCreateAws

NewRotatedSecretCreateAws instantiates a new RotatedSecretCreateAws 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

NewRotatedSecretCreateAwsWithDefaults

func NewRotatedSecretCreateAwsWithDefaults() *RotatedSecretCreateAws

NewRotatedSecretCreateAwsWithDefaults instantiates a new RotatedSecretCreateAws 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

GetApiId

func (o *RotatedSecretCreateAws) GetApiId() string

GetApiId returns the ApiId field if non-nil, zero value otherwise.

GetApiIdOk

func (o *RotatedSecretCreateAws) GetApiIdOk() (*string, bool)

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

SetApiId

func (o *RotatedSecretCreateAws) SetApiId(v string)

SetApiId sets ApiId field to given value.

HasApiId

func (o *RotatedSecretCreateAws) HasApiId() bool

HasApiId returns a boolean if a field has been set.

GetApiKey

func (o *RotatedSecretCreateAws) GetApiKey() string

GetApiKey returns the ApiKey field if non-nil, zero value otherwise.

GetApiKeyOk

func (o *RotatedSecretCreateAws) GetApiKeyOk() (*string, bool)

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

SetApiKey

func (o *RotatedSecretCreateAws) SetApiKey(v string)

SetApiKey sets ApiKey field to given value.

HasApiKey

func (o *RotatedSecretCreateAws) HasApiKey() bool

HasApiKey returns a boolean if a field has been set.

GetAuthenticationCredentials

func (o *RotatedSecretCreateAws) GetAuthenticationCredentials() string

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

GetAuthenticationCredentialsOk

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

SetAuthenticationCredentials sets AuthenticationCredentials field to given value.

HasAuthenticationCredentials

func (o *RotatedSecretCreateAws) HasAuthenticationCredentials() bool

HasAuthenticationCredentials returns a boolean if a field has been set.

GetAutoRotate

func (o *RotatedSecretCreateAws) GetAutoRotate() string

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

GetAutoRotateOk

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

SetAutoRotate sets AutoRotate field to given value.

HasAutoRotate

func (o *RotatedSecretCreateAws) HasAutoRotate() bool

HasAutoRotate returns a boolean if a field has been set.

GetAwsRegion

func (o *RotatedSecretCreateAws) GetAwsRegion() string

GetAwsRegion returns the AwsRegion field if non-nil, zero value otherwise.

GetAwsRegionOk

func (o *RotatedSecretCreateAws) GetAwsRegionOk() (*string, bool)

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

SetAwsRegion

func (o *RotatedSecretCreateAws) SetAwsRegion(v string)

SetAwsRegion sets AwsRegion field to given value.

HasAwsRegion

func (o *RotatedSecretCreateAws) HasAwsRegion() bool

HasAwsRegion returns a boolean if a field has been set.

GetDeleteProtection

func (o *RotatedSecretCreateAws) GetDeleteProtection() string

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

GetDeleteProtectionOk

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

SetDeleteProtection sets DeleteProtection field to given value.

HasDeleteProtection

func (o *RotatedSecretCreateAws) HasDeleteProtection() bool

HasDeleteProtection returns a boolean if a field has been set.

GetDescription

func (o *RotatedSecretCreateAws) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *RotatedSecretCreateAws) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetGraceRotation

func (o *RotatedSecretCreateAws) GetGraceRotation() string

GetGraceRotation returns the GraceRotation field if non-nil, zero value otherwise.

GetGraceRotationOk

func (o *RotatedSecretCreateAws) GetGraceRotationOk() (*string, bool)

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

SetGraceRotation

func (o *RotatedSecretCreateAws) SetGraceRotation(v string)

SetGraceRotation sets GraceRotation field to given value.

HasGraceRotation

func (o *RotatedSecretCreateAws) HasGraceRotation() bool

HasGraceRotation returns a boolean if a field has been set.

GetJson

func (o *RotatedSecretCreateAws) GetJson() bool

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

GetJsonOk

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

SetJson sets Json field to given value.

HasJson

func (o *RotatedSecretCreateAws) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKey

func (o *RotatedSecretCreateAws) GetKey() string

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

GetKeyOk

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

SetKey sets Key field to given value.

HasKey

func (o *RotatedSecretCreateAws) HasKey() bool

HasKey returns a boolean if a field has been set.

GetMaxVersions

func (o *RotatedSecretCreateAws) GetMaxVersions() string

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

GetMaxVersionsOk

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

SetMaxVersions sets MaxVersions field to given value.

HasMaxVersions

func (o *RotatedSecretCreateAws) HasMaxVersions() bool

HasMaxVersions returns a boolean if a field has been set.

GetName

func (o *RotatedSecretCreateAws) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetPasswordLength

func (o *RotatedSecretCreateAws) GetPasswordLength() string

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

GetPasswordLengthOk

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

SetPasswordLength sets PasswordLength field to given value.

HasPasswordLength

func (o *RotatedSecretCreateAws) HasPasswordLength() bool

HasPasswordLength returns a boolean if a field has been set.

GetRotateAfterDisconnect

func (o *RotatedSecretCreateAws) GetRotateAfterDisconnect() string

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

GetRotateAfterDisconnectOk

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

SetRotateAfterDisconnect sets RotateAfterDisconnect field to given value.

HasRotateAfterDisconnect

func (o *RotatedSecretCreateAws) HasRotateAfterDisconnect() bool

HasRotateAfterDisconnect returns a boolean if a field has been set.

GetRotationEventIn

func (o *RotatedSecretCreateAws) GetRotationEventIn() []string

GetRotationEventIn returns the RotationEventIn field if non-nil, zero value otherwise.

GetRotationEventInOk

func (o *RotatedSecretCreateAws) 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.

SetRotationEventIn

func (o *RotatedSecretCreateAws) SetRotationEventIn(v []string)

SetRotationEventIn sets RotationEventIn field to given value.

HasRotationEventIn

func (o *RotatedSecretCreateAws) HasRotationEventIn() bool

HasRotationEventIn returns a boolean if a field has been set.

GetRotationHour

func (o *RotatedSecretCreateAws) GetRotationHour() int32

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

GetRotationHourOk

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

SetRotationHour sets RotationHour field to given value.

HasRotationHour

func (o *RotatedSecretCreateAws) HasRotationHour() bool

HasRotationHour returns a boolean if a field has been set.

GetRotationInterval

func (o *RotatedSecretCreateAws) GetRotationInterval() string

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

GetRotationIntervalOk

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

SetRotationInterval sets RotationInterval field to given value.

HasRotationInterval

func (o *RotatedSecretCreateAws) HasRotationInterval() bool

HasRotationInterval returns a boolean if a field has been set.

GetRotatorType

func (o *RotatedSecretCreateAws) GetRotatorType() string

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

GetRotatorTypeOk

func (o *RotatedSecretCreateAws) 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 *RotatedSecretCreateAws) SetRotatorType(v string)

SetRotatorType sets RotatorType field to given value.

GetSecureAccessAwsAccountId

func (o *RotatedSecretCreateAws) GetSecureAccessAwsAccountId() string

GetSecureAccessAwsAccountId returns the SecureAccessAwsAccountId field if non-nil, zero value otherwise.

GetSecureAccessAwsAccountIdOk

func (o *RotatedSecretCreateAws) GetSecureAccessAwsAccountIdOk() (*string, bool)

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

SetSecureAccessAwsAccountId

func (o *RotatedSecretCreateAws) SetSecureAccessAwsAccountId(v string)

SetSecureAccessAwsAccountId sets SecureAccessAwsAccountId field to given value.

HasSecureAccessAwsAccountId

func (o *RotatedSecretCreateAws) HasSecureAccessAwsAccountId() bool

HasSecureAccessAwsAccountId returns a boolean if a field has been set.

GetSecureAccessAwsNativeCli

func (o *RotatedSecretCreateAws) GetSecureAccessAwsNativeCli() bool

GetSecureAccessAwsNativeCli returns the SecureAccessAwsNativeCli field if non-nil, zero value otherwise.

GetSecureAccessAwsNativeCliOk

func (o *RotatedSecretCreateAws) GetSecureAccessAwsNativeCliOk() (*bool, bool)

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

SetSecureAccessAwsNativeCli

func (o *RotatedSecretCreateAws) SetSecureAccessAwsNativeCli(v bool)

SetSecureAccessAwsNativeCli sets SecureAccessAwsNativeCli field to given value.

HasSecureAccessAwsNativeCli

func (o *RotatedSecretCreateAws) HasSecureAccessAwsNativeCli() bool

HasSecureAccessAwsNativeCli returns a boolean if a field has been set.

GetSecureAccessBastionIssuer

func (o *RotatedSecretCreateAws) GetSecureAccessBastionIssuer() string

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

GetSecureAccessBastionIssuerOk

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

SetSecureAccessBastionIssuer sets SecureAccessBastionIssuer field to given value.

HasSecureAccessBastionIssuer

func (o *RotatedSecretCreateAws) HasSecureAccessBastionIssuer() bool

HasSecureAccessBastionIssuer returns a boolean if a field has been set.

GetSecureAccessEnable

func (o *RotatedSecretCreateAws) GetSecureAccessEnable() string

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

GetSecureAccessEnableOk

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

SetSecureAccessEnable sets SecureAccessEnable field to given value.

HasSecureAccessEnable

func (o *RotatedSecretCreateAws) HasSecureAccessEnable() bool

HasSecureAccessEnable returns a boolean if a field has been set.

GetTags

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

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

GetTagsOk

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

SetTags sets Tags field to given value.

HasTags

func (o *RotatedSecretCreateAws) HasTags() bool

HasTags returns a boolean if a field has been set.

GetTargetName

func (o *RotatedSecretCreateAws) GetTargetName() string

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

GetTargetNameOk

func (o *RotatedSecretCreateAws) 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 *RotatedSecretCreateAws) SetTargetName(v string)

SetTargetName sets TargetName field to given value.

GetToken

func (o *RotatedSecretCreateAws) GetToken() string

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

GetTokenOk

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

SetToken sets Token field to given value.

HasToken

func (o *RotatedSecretCreateAws) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *RotatedSecretCreateAws) GetUidToken() string

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

GetUidTokenOk

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

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *RotatedSecretCreateAws) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

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