» Data Source: oci_kms_vaults

This data source provides the list of Vaults in Oracle Cloud Infrastructure Kms service.

Lists the vaults in the specified compartment.

» Example Usage

data "oci_kms_vaults" "test_vaults" {
    #Required
    compartment_id = "${var.compartment_id}"
}

» Argument Reference

The following arguments are supported:

» Attributes Reference

The following attributes are exported:

  • vaults - The list of vaults.

» Vault Reference

The following attributes are exported:

  • compartment_id - The OCID of the compartment that contains a particular vault.
  • crypto_endpoint - The service endpoint to perform cryptographic operations against. Cryptographic operations include 'Encrypt,' 'Decrypt,' and 'GenerateDataEncryptionKey' operations.
  • defined_tags - Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {"foo-namespace.bar-key": "foo-value"}
  • display_name - A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information.
  • freeform_tags - Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
  • id - The OCID of the vault.
  • management_endpoint - The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations.
  • state - The vault's current state. Example: DELETED
  • time_created - The date and time this vault was created, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
  • time_of_deletion - An optional property for the deletion time of the vault, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
  • vault_type - The type of vault. Each type of vault stores the key with different degrees of isolation and has different options and pricing.