Data Source: oci_vault_secrets

This data source provides the list of Secrets in Oracle Cloud Infrastructure Vault service.

Lists all secrets in the specified vault and compartment.

Example Usage

data "oci_vault_secrets" "test_secrets" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	name = var.secret_name
	state = var.secret_state
	vault_id = oci_kms_vault.test_vault.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Secret Reference

The following attributes are exported: