Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CreateKeyDetails

The details of the key that you want to create.

Properties

Optional autoKeyRotationDetails

autoKeyRotationDetails: model.AutoKeyRotationDetails

compartmentId

compartmentId: string

The OCID of the compartment where you want to create the master encryption key.

Optional definedTags

definedTags: undefined | object

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {@code {"Operations": {"CostCenter": "42"}}}

displayName

displayName: string

A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information.

Optional externalKeyReference

externalKeyReference: model.ExternalKeyReference

Optional freeformTags

freeformTags: undefined | object

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {@code {"Department": "Finance"}}

Optional isAutoRotationEnabled

isAutoRotationEnabled: undefined | false | true

A parameter specifying whether the auto key rotation is enabled or not.

keyShape

keyShape: KeyShape

Optional protectionMode

protectionMode: ProtectionMode

The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of {@code HSM} means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of {@code SOFTWARE} means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of {@code SOFTWARE} are performed on the server. By default, a key's protection mode is set to {@code HSM}. You can't change a key's protection mode after the key is created or imported. A protection mode of {@code EXTERNAL} mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of {@code EXTERNAL} are performed by external key manager.

Functions

getDeserializedJsonObj

getJsonObj