Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 3.58 KB

DataSealingKeyPatch.md

File metadata and controls

82 lines (45 loc) · 3.58 KB

DataSealingKeyPatch

Properties

Name Type Description Notes
KeyingMaterial Pointer to string The Base64-encoded keying material (RFC 4648 section 4, alphabet A-Z a-z 0-9 + /, with = padding) of the 256-bit `AES data sealing key`. This property is required when re-enabling an `unavailable` or `disabled` `key`, or when rotating the keying material together with `old_keying_material`. When rotating, this field contains the new keying material. When re-enabling, this field contains the same keying material as the one that was used before the `key_status` became `unavailable` or `disabled`. [optional]
RequestedKeyState Pointer to string The desired state of the `data sealing key`, either `enabled` or `disabled`. Changing this state will update the `key's status` accordingly. To disable a `key`, no `keying material` is required. When restoring from `unavailable` to `enabled`, only `keying_material` must be provided and this field should be omitted. Do not set this property when rotating `keying material`. [optional]

Methods

NewDataSealingKeyPatch

func NewDataSealingKeyPatch() *DataSealingKeyPatch

NewDataSealingKeyPatch instantiates a new DataSealingKeyPatch 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

NewDataSealingKeyPatchWithDefaults

func NewDataSealingKeyPatchWithDefaults() *DataSealingKeyPatch

NewDataSealingKeyPatchWithDefaults instantiates a new DataSealingKeyPatch 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

GetKeyingMaterial

func (o *DataSealingKeyPatch) GetKeyingMaterial() string

GetKeyingMaterial returns the KeyingMaterial field if non-nil, zero value otherwise.

GetKeyingMaterialOk

func (o *DataSealingKeyPatch) GetKeyingMaterialOk() (*string, bool)

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

SetKeyingMaterial

func (o *DataSealingKeyPatch) SetKeyingMaterial(v string)

SetKeyingMaterial sets KeyingMaterial field to given value.

HasKeyingMaterial

func (o *DataSealingKeyPatch) HasKeyingMaterial() bool

HasKeyingMaterial returns a boolean if a field has been set.

GetRequestedKeyState

func (o *DataSealingKeyPatch) GetRequestedKeyState() string

GetRequestedKeyState returns the RequestedKeyState field if non-nil, zero value otherwise.

GetRequestedKeyStateOk

func (o *DataSealingKeyPatch) GetRequestedKeyStateOk() (*string, bool)

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

SetRequestedKeyState

func (o *DataSealingKeyPatch) SetRequestedKeyState(v string)

SetRequestedKeyState sets RequestedKeyState field to given value.

HasRequestedKeyState

func (o *DataSealingKeyPatch) HasRequestedKeyState() bool

HasRequestedKeyState returns a boolean if a field has been set.

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