Data Source: oci_secrets_secretbundle

This data source provides details about a specific Secretbundle resource in Oracle Cloud Infrastructure Secrets service.

Gets a secret bundle that matches either the specified stage, label, or versionNumber parameter. If none of these parameters are provided, the bundle for the secret version marked as CURRENT will be returned.

Example Usage

data "oci_secrets_secretbundle" "test_secretbundle" {
	#Required
	secret_id = oci_vault_secret.test_secret.id

	#Optional
	secret_version_name = oci_vault_secret_version.test_secret_version.name
	stage = var.secretbundle_stage
	version_number = var.secretbundle_version_number
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: