Data Source: oci_kms_vault_usage
This data source provides details about a specific Vault Usage resource in Oracle Cloud Infrastructure Kms service.
Gets the count of keys and key versions in the specified vault to calculate usage against service limits.
Example Usage
data "oci_kms_vault_usage" "test_vault_usage" {
#Required
vault_id = oci_kms_vault.test_vault.id
}
Argument Reference
The following arguments are supported:
vault_id
- (Required) The OCID of the vault.
Attributes Reference
The following attributes are exported:
key_count
- The number of keys in this vault, across all compartments, excluding keys in aDELETED
state.key_version_count
- The number of key versions in this vault, across all compartments, excluding key versions in aDELETED
state.software_key_count
- The number of keys in this vault that persist on the server, across all compartments, excluding keys in aDELETED
state.software_key_version_count
- The number of key versions in this vault that persist on the server, across all compartments, excluding key versions in aDELETED
state.