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.
data "oci_kms_vault_usage" "test_vault_usage" {
#Required
vault_id = oci_kms_vault.test_vault.id
}
The following arguments are supported:
vault_id
- (Required) The OCID of the vault.The following attributes are exported:
key_count
- The number of keys in this vault, across all compartments, excluding keys in a DELETED
state.key_version_count
- The number of key versions in this vault, across all compartments, excluding key versions in a DELETED
state.software_key_count
- The number of keys in this vault that persist on the server, across all compartments, excluding keys in a DELETED
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 a DELETED
state.