CreateVaultDetails

class oci.key_management.models.CreateVaultDetails(**kwargs)

Bases: object

CreateVaultDetails model.

VAULT_TYPE_VIRTUAL_PRIVATE = 'VIRTUAL_PRIVATE'

A constant which can be used with the vault_type property of a CreateVaultDetails. This constant has a value of "VIRTUAL_PRIVATE"

__init__(**kwargs)

Initializes a new CreateVaultDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • compartment_id (str) -- The value to assign to the compartment_id property of this CreateVaultDetails.
  • defined_tags (dict(str, dict(str, object))) -- The value to assign to the defined_tags property of this CreateVaultDetails.
  • display_name (str) -- The value to assign to the display_name property of this CreateVaultDetails.
  • freeform_tags (dict(str, str)) -- The value to assign to the freeform_tags property of this CreateVaultDetails.
  • vault_type (str) -- The value to assign to the vault_type property of this CreateVaultDetails. Allowed values for this property are: "VIRTUAL_PRIVATE"
compartment_id

[Required] Gets the compartment_id of this CreateVaultDetails. The OCID of the compartment where you want to create this vault.

Returns:The compartment_id of this CreateVaultDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateVaultDetails. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace": {"bar-key": "foo-value"}}

Returns:The defined_tags of this CreateVaultDetails.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this CreateVaultDetails. A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information.

Returns:The display_name of this CreateVaultDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateVaultDetails. Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Returns:The freeform_tags of this CreateVaultDetails.
Return type:dict(str, str)
vault_type

[Required] Gets the vault_type of this CreateVaultDetails. The type of vault to create. Each type of vault stores the key with different degrees of isolation and has different options and pricing.

Allowed values for this property are: "VIRTUAL_PRIVATE"

Returns:The vault_type of this CreateVaultDetails.
Return type:str