Skip to content

Commit

Permalink
Fix gcp alias ACL
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed Jan 19, 2025
1 parent fd6d854 commit 00fa7cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 02-auth-gcp.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ resource "vault_gcp_auth_backend_role" "ghat" {
bound_service_accounts = ["ghat-cr@libops-ghat.iam.gserviceaccount.com"]
bound_projects = ["libops-ghat"]
token_ttl = 300
token_max_ttl = 600
token_max_ttl = 900
token_policies = [
vault_policy.policies["gcp-kv1.hcl"].name
]
Expand Down
2 changes: 1 addition & 1 deletion policies/gcp-kv1.hcl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
path "secret/{{identity.entity.metadata.project_id}}/*" {
path "secret/{{identity.entity.aliases.auth_gcp_8fb93eb9.metadata.project_id}}/*" {
capabilities = ["read", "list"]
}

0 comments on commit 00fa7cf

Please sign in to comment.