mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-08 16:24:51 -04:00
Fix resource binding examples (#5273)
This commit is contained in:
parent
6b452d3114
commit
1bc3222929
1 changed files with 2 additions and 2 deletions
|
|
@ -71,7 +71,7 @@ credentials generated by Vault will have on GCP resources.
|
|||
secret_type="access_token" \
|
||||
token_scopes="https://www.googleapis.com/auth/cloud-platform" \
|
||||
bindings=-<<EOF
|
||||
resource "projects/my-project" {
|
||||
resource "//cloudresourcemanager.googleapis.com/projects/my-project" {
|
||||
roles = ["roles/viewer"]
|
||||
}
|
||||
EOF
|
||||
|
|
@ -84,7 +84,7 @@ credentials generated by Vault will have on GCP resources.
|
|||
project="my-project" \
|
||||
secret_type="service_account_key" \
|
||||
bindings=-<<EOF
|
||||
resource "projects/my-project" {
|
||||
resource "//cloudresourcemanager.googleapis.com/projects/my-project" {
|
||||
roles = ["roles/viewer"]
|
||||
}
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Reference in a new issue