Skip to content

Latest commit

 

History

History
691 lines (372 loc) · 21.7 KB

File metadata and controls

691 lines (372 loc) · 21.7 KB

RotatedSecretCreateSplunk

Properties

Name Type Description Notes
Audience Pointer to string Token audience for Splunk token creation (required for rotator-type=token) [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 object [true/false] [optional]
Description Pointer to string Description of the object [optional]
ExpirationDate Pointer to string Token expiration date in YYYY-MM-DD format (required for rotator-type=token when manual rotation is selected and no existing token is provided). Time will be set to 00:00 UTC. [optional]
HecToken Pointer to string Current Splunk HEC token value to store (relevant only for rotator-type=hec-token). If not provided, a new HEC input will be created in Splunk. [optional]
HecTokenName Pointer to string Splunk HEC input name to manage (required for rotator-type=hec-token) [optional]
ItemCustomFields Pointer to map[string]string Additional custom fields to associate with the item [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]
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]
RotatorType string The rotator type. options: [target/password/token/hec-token]
SplunkToken Pointer to string Current Splunk authentication token to store (relevant only for rotator-type=token). If not provided, a new token will be created in Splunk. [optional]
Tags Pointer to []string Add tags attached to this object [optional]
TargetName string The target name to associate
Token Pointer to string Authentication token (see `/auth` and `/configure`) [optional]
TokenOwner Pointer to string Splunk token owner username (relevant only for rotator-type=token) [optional]
UidToken Pointer to string The universal identity token, Required only for universal_identity authentication [optional]

Methods

NewRotatedSecretCreateSplunk

func NewRotatedSecretCreateSplunk(name string, rotatorType string, targetName string, ) *RotatedSecretCreateSplunk

NewRotatedSecretCreateSplunk instantiates a new RotatedSecretCreateSplunk 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

NewRotatedSecretCreateSplunkWithDefaults

func NewRotatedSecretCreateSplunkWithDefaults() *RotatedSecretCreateSplunk

NewRotatedSecretCreateSplunkWithDefaults instantiates a new RotatedSecretCreateSplunk 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

GetAudience

func (o *RotatedSecretCreateSplunk) GetAudience() string

GetAudience returns the Audience field if non-nil, zero value otherwise.

GetAudienceOk

func (o *RotatedSecretCreateSplunk) GetAudienceOk() (*string, bool)

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

SetAudience

func (o *RotatedSecretCreateSplunk) SetAudience(v string)

SetAudience sets Audience field to given value.

HasAudience

func (o *RotatedSecretCreateSplunk) HasAudience() bool

HasAudience returns a boolean if a field has been set.

GetAuthenticationCredentials

func (o *RotatedSecretCreateSplunk) GetAuthenticationCredentials() string

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

GetAuthenticationCredentialsOk

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

SetAuthenticationCredentials sets AuthenticationCredentials field to given value.

HasAuthenticationCredentials

func (o *RotatedSecretCreateSplunk) HasAuthenticationCredentials() bool

HasAuthenticationCredentials returns a boolean if a field has been set.

GetAutoRotate

func (o *RotatedSecretCreateSplunk) GetAutoRotate() string

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

GetAutoRotateOk

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

SetAutoRotate sets AutoRotate field to given value.

HasAutoRotate

func (o *RotatedSecretCreateSplunk) HasAutoRotate() bool

HasAutoRotate returns a boolean if a field has been set.

GetDeleteProtection

func (o *RotatedSecretCreateSplunk) GetDeleteProtection() string

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

GetDeleteProtectionOk

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

SetDeleteProtection sets DeleteProtection field to given value.

HasDeleteProtection

func (o *RotatedSecretCreateSplunk) HasDeleteProtection() bool

HasDeleteProtection returns a boolean if a field has been set.

GetDescription

func (o *RotatedSecretCreateSplunk) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *RotatedSecretCreateSplunk) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetExpirationDate

func (o *RotatedSecretCreateSplunk) GetExpirationDate() string

GetExpirationDate returns the ExpirationDate field if non-nil, zero value otherwise.

GetExpirationDateOk

func (o *RotatedSecretCreateSplunk) GetExpirationDateOk() (*string, bool)

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

SetExpirationDate

func (o *RotatedSecretCreateSplunk) SetExpirationDate(v string)

SetExpirationDate sets ExpirationDate field to given value.

HasExpirationDate

func (o *RotatedSecretCreateSplunk) HasExpirationDate() bool

HasExpirationDate returns a boolean if a field has been set.

GetHecToken

func (o *RotatedSecretCreateSplunk) GetHecToken() string

GetHecToken returns the HecToken field if non-nil, zero value otherwise.

GetHecTokenOk

func (o *RotatedSecretCreateSplunk) GetHecTokenOk() (*string, bool)

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

SetHecToken

func (o *RotatedSecretCreateSplunk) SetHecToken(v string)

SetHecToken sets HecToken field to given value.

HasHecToken

func (o *RotatedSecretCreateSplunk) HasHecToken() bool

HasHecToken returns a boolean if a field has been set.

GetHecTokenName

func (o *RotatedSecretCreateSplunk) GetHecTokenName() string

GetHecTokenName returns the HecTokenName field if non-nil, zero value otherwise.

GetHecTokenNameOk

func (o *RotatedSecretCreateSplunk) GetHecTokenNameOk() (*string, bool)

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

SetHecTokenName

func (o *RotatedSecretCreateSplunk) SetHecTokenName(v string)

SetHecTokenName sets HecTokenName field to given value.

HasHecTokenName

func (o *RotatedSecretCreateSplunk) HasHecTokenName() bool

HasHecTokenName returns a boolean if a field has been set.

GetItemCustomFields

func (o *RotatedSecretCreateSplunk) GetItemCustomFields() map[string]string

GetItemCustomFields returns the ItemCustomFields field if non-nil, zero value otherwise.

GetItemCustomFieldsOk

func (o *RotatedSecretCreateSplunk) GetItemCustomFieldsOk() (*map[string]string, bool)

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

SetItemCustomFields

func (o *RotatedSecretCreateSplunk) SetItemCustomFields(v map[string]string)

SetItemCustomFields sets ItemCustomFields field to given value.

HasItemCustomFields

func (o *RotatedSecretCreateSplunk) HasItemCustomFields() bool

HasItemCustomFields returns a boolean if a field has been set.

GetJson

func (o *RotatedSecretCreateSplunk) GetJson() bool

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

GetJsonOk

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

SetJson sets Json field to given value.

HasJson

func (o *RotatedSecretCreateSplunk) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKey

func (o *RotatedSecretCreateSplunk) GetKey() string

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

GetKeyOk

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

SetKey sets Key field to given value.

HasKey

func (o *RotatedSecretCreateSplunk) HasKey() bool

HasKey returns a boolean if a field has been set.

GetMaxVersions

func (o *RotatedSecretCreateSplunk) GetMaxVersions() string

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

GetMaxVersionsOk

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

SetMaxVersions sets MaxVersions field to given value.

HasMaxVersions

func (o *RotatedSecretCreateSplunk) HasMaxVersions() bool

HasMaxVersions returns a boolean if a field has been set.

GetName

func (o *RotatedSecretCreateSplunk) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetPasswordLength

func (o *RotatedSecretCreateSplunk) GetPasswordLength() string

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

GetPasswordLengthOk

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

SetPasswordLength sets PasswordLength field to given value.

HasPasswordLength

func (o *RotatedSecretCreateSplunk) HasPasswordLength() bool

HasPasswordLength returns a boolean if a field has been set.

GetRotatedPassword

func (o *RotatedSecretCreateSplunk) GetRotatedPassword() string

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

GetRotatedPasswordOk

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

SetRotatedPassword sets RotatedPassword field to given value.

HasRotatedPassword

func (o *RotatedSecretCreateSplunk) HasRotatedPassword() bool

HasRotatedPassword returns a boolean if a field has been set.

GetRotatedUsername

func (o *RotatedSecretCreateSplunk) GetRotatedUsername() string

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

GetRotatedUsernameOk

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

SetRotatedUsername sets RotatedUsername field to given value.

HasRotatedUsername

func (o *RotatedSecretCreateSplunk) HasRotatedUsername() bool

HasRotatedUsername returns a boolean if a field has been set.

GetRotationEventIn

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

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

GetRotationEventInOk

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

SetRotationEventIn sets RotationEventIn field to given value.

HasRotationEventIn

func (o *RotatedSecretCreateSplunk) HasRotationEventIn() bool

HasRotationEventIn returns a boolean if a field has been set.

GetRotationHour

func (o *RotatedSecretCreateSplunk) GetRotationHour() int32

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

GetRotationHourOk

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

SetRotationHour sets RotationHour field to given value.

HasRotationHour

func (o *RotatedSecretCreateSplunk) HasRotationHour() bool

HasRotationHour returns a boolean if a field has been set.

GetRotationInterval

func (o *RotatedSecretCreateSplunk) GetRotationInterval() string

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

GetRotationIntervalOk

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

SetRotationInterval sets RotationInterval field to given value.

HasRotationInterval

func (o *RotatedSecretCreateSplunk) HasRotationInterval() bool

HasRotationInterval returns a boolean if a field has been set.

GetRotatorType

func (o *RotatedSecretCreateSplunk) GetRotatorType() string

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

GetRotatorTypeOk

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

SetRotatorType sets RotatorType field to given value.

GetSplunkToken

func (o *RotatedSecretCreateSplunk) GetSplunkToken() string

GetSplunkToken returns the SplunkToken field if non-nil, zero value otherwise.

GetSplunkTokenOk

func (o *RotatedSecretCreateSplunk) GetSplunkTokenOk() (*string, bool)

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

SetSplunkToken

func (o *RotatedSecretCreateSplunk) SetSplunkToken(v string)

SetSplunkToken sets SplunkToken field to given value.

HasSplunkToken

func (o *RotatedSecretCreateSplunk) HasSplunkToken() bool

HasSplunkToken returns a boolean if a field has been set.

GetTags

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

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

GetTagsOk

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

SetTags sets Tags field to given value.

HasTags

func (o *RotatedSecretCreateSplunk) HasTags() bool

HasTags returns a boolean if a field has been set.

GetTargetName

func (o *RotatedSecretCreateSplunk) GetTargetName() string

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

GetTargetNameOk

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

SetTargetName sets TargetName field to given value.

GetToken

func (o *RotatedSecretCreateSplunk) GetToken() string

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

GetTokenOk

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

SetToken sets Token field to given value.

HasToken

func (o *RotatedSecretCreateSplunk) HasToken() bool

HasToken returns a boolean if a field has been set.

GetTokenOwner

func (o *RotatedSecretCreateSplunk) GetTokenOwner() string

GetTokenOwner returns the TokenOwner field if non-nil, zero value otherwise.

GetTokenOwnerOk

func (o *RotatedSecretCreateSplunk) GetTokenOwnerOk() (*string, bool)

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

SetTokenOwner

func (o *RotatedSecretCreateSplunk) SetTokenOwner(v string)

SetTokenOwner sets TokenOwner field to given value.

HasTokenOwner

func (o *RotatedSecretCreateSplunk) HasTokenOwner() bool

HasTokenOwner returns a boolean if a field has been set.

GetUidToken

func (o *RotatedSecretCreateSplunk) GetUidToken() string

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

GetUidTokenOk

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

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *RotatedSecretCreateSplunk) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

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