google_secret_manager_secret_iam_policy

Retrieves the current IAM policy data for secret

example

data "google_secret_manager_secret_iam_policy" "policy" {
  project = google_secret_manager_secret.secret-basic.project
  secret_id = google_secret_manager_secret.secret-basic.secret_id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The attributes are exported: