Name | Type | Description | Notes |
---|---|---|---|
AllowedUsers | string | Users allowed to fetch the certificate, e.g root,ubuntu | |
DeleteProtection | Pointer to string | Protection from accidental deletion of this item | [optional] |
Description | Pointer to string | Description of the object | [optional] |
Extensions | Pointer to map[string]string | Signed certificates with extensions, e.g permit-port-forwarding=\"\" | [optional] |
Json | Pointer to bool | Set output format to JSON | [optional] |
Metadata | Pointer to string | Deprecated - use description | [optional] |
Name | string | SSH certificate issuer name | |
Principals | Pointer to string | Signed certificates with principal, e.g example_role1,example_role2 | [optional] |
SecureAccessBastionApi | Pointer to string | [optional] | |
SecureAccessBastionSsh | Pointer to string | [optional] | |
SecureAccessEnable | Pointer to string | [optional] | |
SecureAccessHost | Pointer to []string | [optional] | |
SecureAccessSshCredsUser | Pointer to string | [optional] | |
SecureAccessUseInternalBastion | Pointer to bool | [optional] | |
SignerKeyName | string | A key to sign the certificate with | |
Tag | Pointer to []string | List of the tags attached to this key | [optional] |
Token | Pointer to string | Authentication token (see `/auth` and `/configure`) | [optional] |
Ttl | int64 | The requested Time To Live for the certificate, in seconds | |
UidToken | Pointer to string | The universal identity token, Required only for universal_identity authentication | [optional] |
func NewCreateSSHCertIssuer(allowedUsers string, name string, signerKeyName string, ttl int64, ) *CreateSSHCertIssuer
NewCreateSSHCertIssuer instantiates a new CreateSSHCertIssuer 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 NewCreateSSHCertIssuerWithDefaults() *CreateSSHCertIssuer
NewCreateSSHCertIssuerWithDefaults instantiates a new CreateSSHCertIssuer 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 *CreateSSHCertIssuer) GetAllowedUsers() string
GetAllowedUsers returns the AllowedUsers field if non-nil, zero value otherwise.
func (o *CreateSSHCertIssuer) GetAllowedUsersOk() (*string, bool)
GetAllowedUsersOk returns a tuple with the AllowedUsers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSSHCertIssuer) SetAllowedUsers(v string)
SetAllowedUsers sets AllowedUsers field to given value.
func (o *CreateSSHCertIssuer) GetDeleteProtection() string
GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.
func (o *CreateSSHCertIssuer) 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 *CreateSSHCertIssuer) SetDeleteProtection(v string)
SetDeleteProtection sets DeleteProtection field to given value.
func (o *CreateSSHCertIssuer) HasDeleteProtection() bool
HasDeleteProtection returns a boolean if a field has been set.
func (o *CreateSSHCertIssuer) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CreateSSHCertIssuer) 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 *CreateSSHCertIssuer) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CreateSSHCertIssuer) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CreateSSHCertIssuer) GetExtensions() map[string]string
GetExtensions returns the Extensions field if non-nil, zero value otherwise.
func (o *CreateSSHCertIssuer) GetExtensionsOk() (*map[string]string, bool)
GetExtensionsOk returns a tuple with the Extensions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSSHCertIssuer) SetExtensions(v map[string]string)
SetExtensions sets Extensions field to given value.
func (o *CreateSSHCertIssuer) HasExtensions() bool
HasExtensions returns a boolean if a field has been set.
func (o *CreateSSHCertIssuer) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *CreateSSHCertIssuer) 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 *CreateSSHCertIssuer) SetJson(v bool)
SetJson sets Json field to given value.
func (o *CreateSSHCertIssuer) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *CreateSSHCertIssuer) GetMetadata() string
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *CreateSSHCertIssuer) 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 *CreateSSHCertIssuer) SetMetadata(v string)
SetMetadata sets Metadata field to given value.
func (o *CreateSSHCertIssuer) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *CreateSSHCertIssuer) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateSSHCertIssuer) 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 *CreateSSHCertIssuer) SetName(v string)
SetName sets Name field to given value.
func (o *CreateSSHCertIssuer) GetPrincipals() string
GetPrincipals returns the Principals field if non-nil, zero value otherwise.
func (o *CreateSSHCertIssuer) GetPrincipalsOk() (*string, bool)
GetPrincipalsOk returns a tuple with the Principals field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSSHCertIssuer) SetPrincipals(v string)
SetPrincipals sets Principals field to given value.
func (o *CreateSSHCertIssuer) HasPrincipals() bool
HasPrincipals returns a boolean if a field has been set.
func (o *CreateSSHCertIssuer) GetSecureAccessBastionApi() string
GetSecureAccessBastionApi returns the SecureAccessBastionApi field if non-nil, zero value otherwise.
func (o *CreateSSHCertIssuer) GetSecureAccessBastionApiOk() (*string, bool)
GetSecureAccessBastionApiOk returns a tuple with the SecureAccessBastionApi field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSSHCertIssuer) SetSecureAccessBastionApi(v string)
SetSecureAccessBastionApi sets SecureAccessBastionApi field to given value.
func (o *CreateSSHCertIssuer) HasSecureAccessBastionApi() bool
HasSecureAccessBastionApi returns a boolean if a field has been set.
func (o *CreateSSHCertIssuer) GetSecureAccessBastionSsh() string
GetSecureAccessBastionSsh returns the SecureAccessBastionSsh field if non-nil, zero value otherwise.
func (o *CreateSSHCertIssuer) GetSecureAccessBastionSshOk() (*string, bool)
GetSecureAccessBastionSshOk returns a tuple with the SecureAccessBastionSsh field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSSHCertIssuer) SetSecureAccessBastionSsh(v string)
SetSecureAccessBastionSsh sets SecureAccessBastionSsh field to given value.
func (o *CreateSSHCertIssuer) HasSecureAccessBastionSsh() bool
HasSecureAccessBastionSsh returns a boolean if a field has been set.
func (o *CreateSSHCertIssuer) GetSecureAccessEnable() string
GetSecureAccessEnable returns the SecureAccessEnable field if non-nil, zero value otherwise.
func (o *CreateSSHCertIssuer) 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 *CreateSSHCertIssuer) SetSecureAccessEnable(v string)
SetSecureAccessEnable sets SecureAccessEnable field to given value.
func (o *CreateSSHCertIssuer) HasSecureAccessEnable() bool
HasSecureAccessEnable returns a boolean if a field has been set.
func (o *CreateSSHCertIssuer) GetSecureAccessHost() []string
GetSecureAccessHost returns the SecureAccessHost field if non-nil, zero value otherwise.
func (o *CreateSSHCertIssuer) 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 *CreateSSHCertIssuer) SetSecureAccessHost(v []string)
SetSecureAccessHost sets SecureAccessHost field to given value.
func (o *CreateSSHCertIssuer) HasSecureAccessHost() bool
HasSecureAccessHost returns a boolean if a field has been set.
func (o *CreateSSHCertIssuer) GetSecureAccessSshCredsUser() string
GetSecureAccessSshCredsUser returns the SecureAccessSshCredsUser field if non-nil, zero value otherwise.
func (o *CreateSSHCertIssuer) GetSecureAccessSshCredsUserOk() (*string, bool)
GetSecureAccessSshCredsUserOk returns a tuple with the SecureAccessSshCredsUser field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSSHCertIssuer) SetSecureAccessSshCredsUser(v string)
SetSecureAccessSshCredsUser sets SecureAccessSshCredsUser field to given value.
func (o *CreateSSHCertIssuer) HasSecureAccessSshCredsUser() bool
HasSecureAccessSshCredsUser returns a boolean if a field has been set.
func (o *CreateSSHCertIssuer) GetSecureAccessUseInternalBastion() bool
GetSecureAccessUseInternalBastion returns the SecureAccessUseInternalBastion field if non-nil, zero value otherwise.
func (o *CreateSSHCertIssuer) GetSecureAccessUseInternalBastionOk() (*bool, bool)
GetSecureAccessUseInternalBastionOk returns a tuple with the SecureAccessUseInternalBastion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSSHCertIssuer) SetSecureAccessUseInternalBastion(v bool)
SetSecureAccessUseInternalBastion sets SecureAccessUseInternalBastion field to given value.
func (o *CreateSSHCertIssuer) HasSecureAccessUseInternalBastion() bool
HasSecureAccessUseInternalBastion returns a boolean if a field has been set.
func (o *CreateSSHCertIssuer) GetSignerKeyName() string
GetSignerKeyName returns the SignerKeyName field if non-nil, zero value otherwise.
func (o *CreateSSHCertIssuer) GetSignerKeyNameOk() (*string, bool)
GetSignerKeyNameOk returns a tuple with the SignerKeyName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSSHCertIssuer) SetSignerKeyName(v string)
SetSignerKeyName sets SignerKeyName field to given value.
func (o *CreateSSHCertIssuer) GetTag() []string
GetTag returns the Tag field if non-nil, zero value otherwise.
func (o *CreateSSHCertIssuer) GetTagOk() (*[]string, bool)
GetTagOk returns a tuple with the Tag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSSHCertIssuer) SetTag(v []string)
SetTag sets Tag field to given value.
func (o *CreateSSHCertIssuer) HasTag() bool
HasTag returns a boolean if a field has been set.
func (o *CreateSSHCertIssuer) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *CreateSSHCertIssuer) 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 *CreateSSHCertIssuer) SetToken(v string)
SetToken sets Token field to given value.
func (o *CreateSSHCertIssuer) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *CreateSSHCertIssuer) GetTtl() int64
GetTtl returns the Ttl field if non-nil, zero value otherwise.
func (o *CreateSSHCertIssuer) GetTtlOk() (*int64, bool)
GetTtlOk returns a tuple with the Ttl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSSHCertIssuer) SetTtl(v int64)
SetTtl sets Ttl field to given value.
func (o *CreateSSHCertIssuer) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *CreateSSHCertIssuer) 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 *CreateSSHCertIssuer) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *CreateSSHCertIssuer) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.