VaultUsage

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

Bases: object

The details of the number of Keys and KeyVersions usage in a Vault.

Methods:

__init__(**kwargs)

Initializes a new VaultUsage object with values from keyword arguments.

Attributes:

key_count

[Required] Gets the key_count of this VaultUsage.

key_version_count

[Required] Gets the key_version_count of this VaultUsage.

software_key_count

Gets the software_key_count of this VaultUsage.

software_key_version_count

Gets the software_key_version_count of this VaultUsage.

__init__(**kwargs)

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

Parameters
  • key_count (int) – The value to assign to the key_count property of this VaultUsage.

  • key_version_count (int) – The value to assign to the key_version_count property of this VaultUsage.

  • software_key_count (int) – The value to assign to the software_key_count property of this VaultUsage.

  • software_key_version_count (int) – The value to assign to the software_key_version_count property of this VaultUsage.

property key_count

[Required] Gets the key_count of this VaultUsage. The number of keys in this vault that persist on a hardware security module (HSM), across all compartments, excluding keys in a DELETED state.

Returns

The key_count of this VaultUsage.

Return type

int

property key_version_count

[Required] Gets the key_version_count of this VaultUsage. The number of key versions in this vault that persist on a hardware security module (HSM), across all compartments, excluding key versions in a DELETED state.

Returns

The key_version_count of this VaultUsage.

Return type

int

property software_key_count

Gets the software_key_count of this VaultUsage. The number of keys in this vault that persist on the server, across all compartments, excluding keys in a DELETED state.

Returns

The software_key_count of this VaultUsage.

Return type

int

property software_key_version_count

Gets the software_key_version_count of this VaultUsage. The number of key versions in this vault that persist on the server, across all compartments, excluding key versions in a DELETED state.

Returns

The software_key_version_count of this VaultUsage.

Return type

int