Name | Type | Description | Notes |
---|---|---|---|
Accessibility | Pointer to string | for personal password manager | [optional] [default to "regular"] |
ChangeEvent | Pointer to string | Trigger an event when a secret value changed [true/false] (Relevant only for Static Secret) | [optional] |
CustomField | Pointer to map[string]string | For Password Management use, additional fields | [optional] |
DeleteProtection | Pointer to string | Protection from accidental deletion of this object [true/false] | [optional] |
Description | Pointer to string | Description of the object | [optional] |
Format | Pointer to string | Secret format [text/json/key-value] (relevant only for type 'generic') | [optional] [default to "text"] |
InjectUrl | Pointer to []string | For Password Management use, reflect the website context | [optional] |
Json | Pointer to bool | Set output format to JSON | [optional] [default to false] |
MaxVersions | Pointer to string | Set the maximum number of versions, limited by the account settings defaults. | [optional] |
Metadata | Pointer to string | Deprecated - use description | [optional] |
MultilineValue | Pointer to bool | The provided value is a multiline value (separated by '\n') | [optional] |
Name | string | Secret name | |
Password | Pointer to string | For Password Management use, additional fields | [optional] |
ProtectionKey | 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] |
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] |
SecureAccessRdpUser | Pointer to string | Remote Desktop Username | [optional] |
SecureAccessSshCreds | Pointer to string | Static-Secret values contains SSH Credentials, either Private Key or Password [password/private-key] | [optional] |
SecureAccessSshUser | Pointer to string | Override the SSH username as indicated in SSH Certificate Issuer | [optional] |
SecureAccessUrl | Pointer to string | Destination URL to inject secrets | [optional] |
SecureAccessWebBrowsing | Pointer to bool | Secure browser via Akeyless Web Access Bastion | [optional] [default to false] |
SecureAccessWebProxy | Pointer to bool | Web-Proxy via Akeyless Web Access Bastion | [optional] [default to false] |
Tags | Pointer to []string | Add tags attached to this object | [optional] |
Token | Pointer to string | Authentication token (see `/auth` and `/configure`) | [optional] |
Type | Pointer to string | The secret sub type [generic/password] | [optional] [default to "generic"] |
UidToken | Pointer to string | The universal identity token, Required only for universal_identity authentication | [optional] |
Username | Pointer to string | For Password Management use | [optional] |
Value | string | The secret value (relevant only for type 'generic') |
func NewCreateSecret(name string, value string, ) *CreateSecret
NewCreateSecret instantiates a new CreateSecret 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 NewCreateSecretWithDefaults() *CreateSecret
NewCreateSecretWithDefaults instantiates a new CreateSecret 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 *CreateSecret) GetAccessibility() string
GetAccessibility returns the Accessibility field if non-nil, zero value otherwise.
func (o *CreateSecret) GetAccessibilityOk() (*string, bool)
GetAccessibilityOk returns a tuple with the Accessibility field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetAccessibility(v string)
SetAccessibility sets Accessibility field to given value.
func (o *CreateSecret) HasAccessibility() bool
HasAccessibility returns a boolean if a field has been set.
func (o *CreateSecret) GetChangeEvent() string
GetChangeEvent returns the ChangeEvent field if non-nil, zero value otherwise.
func (o *CreateSecret) GetChangeEventOk() (*string, bool)
GetChangeEventOk returns a tuple with the ChangeEvent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetChangeEvent(v string)
SetChangeEvent sets ChangeEvent field to given value.
func (o *CreateSecret) HasChangeEvent() bool
HasChangeEvent returns a boolean if a field has been set.
func (o *CreateSecret) GetCustomField() map[string]string
GetCustomField returns the CustomField field if non-nil, zero value otherwise.
func (o *CreateSecret) GetCustomFieldOk() (*map[string]string, bool)
GetCustomFieldOk returns a tuple with the CustomField field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetCustomField(v map[string]string)
SetCustomField sets CustomField field to given value.
func (o *CreateSecret) HasCustomField() bool
HasCustomField returns a boolean if a field has been set.
func (o *CreateSecret) GetDeleteProtection() string
GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetDeleteProtection(v string)
SetDeleteProtection sets DeleteProtection field to given value.
func (o *CreateSecret) HasDeleteProtection() bool
HasDeleteProtection returns a boolean if a field has been set.
func (o *CreateSecret) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CreateSecret) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CreateSecret) GetFormat() string
GetFormat returns the Format field if non-nil, zero value otherwise.
func (o *CreateSecret) GetFormatOk() (*string, bool)
GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetFormat(v string)
SetFormat sets Format field to given value.
func (o *CreateSecret) HasFormat() bool
HasFormat returns a boolean if a field has been set.
func (o *CreateSecret) GetInjectUrl() []string
GetInjectUrl returns the InjectUrl field if non-nil, zero value otherwise.
func (o *CreateSecret) GetInjectUrlOk() (*[]string, bool)
GetInjectUrlOk returns a tuple with the InjectUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetInjectUrl(v []string)
SetInjectUrl sets InjectUrl field to given value.
func (o *CreateSecret) HasInjectUrl() bool
HasInjectUrl returns a boolean if a field has been set.
func (o *CreateSecret) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetJson(v bool)
SetJson sets Json field to given value.
func (o *CreateSecret) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *CreateSecret) GetMaxVersions() string
GetMaxVersions returns the MaxVersions field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetMaxVersions(v string)
SetMaxVersions sets MaxVersions field to given value.
func (o *CreateSecret) HasMaxVersions() bool
HasMaxVersions returns a boolean if a field has been set.
func (o *CreateSecret) GetMetadata() string
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *CreateSecret) GetMetadataOk() (*string, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetMetadata(v string)
SetMetadata sets Metadata field to given value.
func (o *CreateSecret) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *CreateSecret) GetMultilineValue() bool
GetMultilineValue returns the MultilineValue field if non-nil, zero value otherwise.
func (o *CreateSecret) GetMultilineValueOk() (*bool, bool)
GetMultilineValueOk returns a tuple with the MultilineValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetMultilineValue(v bool)
SetMultilineValue sets MultilineValue field to given value.
func (o *CreateSecret) HasMultilineValue() bool
HasMultilineValue returns a boolean if a field has been set.
func (o *CreateSecret) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetName(v string)
SetName sets Name field to given value.
func (o *CreateSecret) GetPassword() string
GetPassword returns the Password field if non-nil, zero value otherwise.
func (o *CreateSecret) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetPassword(v string)
SetPassword sets Password field to given value.
func (o *CreateSecret) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (o *CreateSecret) GetProtectionKey() string
GetProtectionKey returns the ProtectionKey field if non-nil, zero value otherwise.
func (o *CreateSecret) GetProtectionKeyOk() (*string, bool)
GetProtectionKeyOk returns a tuple with the ProtectionKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetProtectionKey(v string)
SetProtectionKey sets ProtectionKey field to given value.
func (o *CreateSecret) HasProtectionKey() bool
HasProtectionKey returns a boolean if a field has been set.
func (o *CreateSecret) GetSecureAccessBastionIssuer() string
GetSecureAccessBastionIssuer returns the SecureAccessBastionIssuer field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetSecureAccessBastionIssuer(v string)
SetSecureAccessBastionIssuer sets SecureAccessBastionIssuer field to given value.
func (o *CreateSecret) HasSecureAccessBastionIssuer() bool
HasSecureAccessBastionIssuer returns a boolean if a field has been set.
func (o *CreateSecret) GetSecureAccessEnable() string
GetSecureAccessEnable returns the SecureAccessEnable field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetSecureAccessEnable(v string)
SetSecureAccessEnable sets SecureAccessEnable field to given value.
func (o *CreateSecret) HasSecureAccessEnable() bool
HasSecureAccessEnable returns a boolean if a field has been set.
func (o *CreateSecret) GetSecureAccessHost() []string
GetSecureAccessHost returns the SecureAccessHost field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetSecureAccessHost(v []string)
SetSecureAccessHost sets SecureAccessHost field to given value.
func (o *CreateSecret) HasSecureAccessHost() bool
HasSecureAccessHost returns a boolean if a field has been set.
func (o *CreateSecret) GetSecureAccessRdpUser() string
GetSecureAccessRdpUser returns the SecureAccessRdpUser field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetSecureAccessRdpUser(v string)
SetSecureAccessRdpUser sets SecureAccessRdpUser field to given value.
func (o *CreateSecret) HasSecureAccessRdpUser() bool
HasSecureAccessRdpUser returns a boolean if a field has been set.
func (o *CreateSecret) GetSecureAccessSshCreds() string
GetSecureAccessSshCreds returns the SecureAccessSshCreds field if non-nil, zero value otherwise.
func (o *CreateSecret) GetSecureAccessSshCredsOk() (*string, bool)
GetSecureAccessSshCredsOk returns a tuple with the SecureAccessSshCreds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetSecureAccessSshCreds(v string)
SetSecureAccessSshCreds sets SecureAccessSshCreds field to given value.
func (o *CreateSecret) HasSecureAccessSshCreds() bool
HasSecureAccessSshCreds returns a boolean if a field has been set.
func (o *CreateSecret) GetSecureAccessSshUser() string
GetSecureAccessSshUser returns the SecureAccessSshUser field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetSecureAccessSshUser(v string)
SetSecureAccessSshUser sets SecureAccessSshUser field to given value.
func (o *CreateSecret) HasSecureAccessSshUser() bool
HasSecureAccessSshUser returns a boolean if a field has been set.
func (o *CreateSecret) GetSecureAccessUrl() string
GetSecureAccessUrl returns the SecureAccessUrl field if non-nil, zero value otherwise.
func (o *CreateSecret) GetSecureAccessUrlOk() (*string, bool)
GetSecureAccessUrlOk returns a tuple with the SecureAccessUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetSecureAccessUrl(v string)
SetSecureAccessUrl sets SecureAccessUrl field to given value.
func (o *CreateSecret) HasSecureAccessUrl() bool
HasSecureAccessUrl returns a boolean if a field has been set.
func (o *CreateSecret) GetSecureAccessWebBrowsing() bool
GetSecureAccessWebBrowsing returns the SecureAccessWebBrowsing field if non-nil, zero value otherwise.
func (o *CreateSecret) GetSecureAccessWebBrowsingOk() (*bool, bool)
GetSecureAccessWebBrowsingOk returns a tuple with the SecureAccessWebBrowsing field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetSecureAccessWebBrowsing(v bool)
SetSecureAccessWebBrowsing sets SecureAccessWebBrowsing field to given value.
func (o *CreateSecret) HasSecureAccessWebBrowsing() bool
HasSecureAccessWebBrowsing returns a boolean if a field has been set.
func (o *CreateSecret) GetSecureAccessWebProxy() bool
GetSecureAccessWebProxy returns the SecureAccessWebProxy field if non-nil, zero value otherwise.
func (o *CreateSecret) GetSecureAccessWebProxyOk() (*bool, bool)
GetSecureAccessWebProxyOk returns a tuple with the SecureAccessWebProxy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetSecureAccessWebProxy(v bool)
SetSecureAccessWebProxy sets SecureAccessWebProxy field to given value.
func (o *CreateSecret) HasSecureAccessWebProxy() bool
HasSecureAccessWebProxy returns a boolean if a field has been set.
func (o *CreateSecret) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *CreateSecret) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *CreateSecret) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetToken(v string)
SetToken sets Token field to given value.
func (o *CreateSecret) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *CreateSecret) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *CreateSecret) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetType(v string)
SetType sets Type field to given value.
func (o *CreateSecret) HasType() bool
HasType returns a boolean if a field has been set.
func (o *CreateSecret) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *CreateSecret) 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 *CreateSecret) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *CreateSecret) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.
func (o *CreateSecret) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
func (o *CreateSecret) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetUsername(v string)
SetUsername sets Username field to given value.
func (o *CreateSecret) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (o *CreateSecret) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *CreateSecret) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSecret) SetValue(v string)
SetValue sets Value field to given value.