google_secret_manager_secret_version_access

Get the value from a Secret Manager secret version. This is similar to the google_secret_manager_secret_version datasource, but it only requires the Secret Manager Secret Accessor role. For more information see the official documentation and API.

Example Usage

data "google_secret_manager_secret_version_access" "basic" {
  secret = "my-secret"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: