You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vault ServiceAccount has roles/owner permissions in Project B
terraform is used to setup
vault_gcp_secret_backend (no credentials specified, relying on workload identity)
vault_gcp_secret_roleset in Project B
Result:
the ServiceAccount for the roleset is created in Project B
the ServiceAccount key for the above is created in Project B
❗ the pemission specified in bindingsis not granted to the roleset ServiceAccount
Works
Same as above except:
a ServiceAccount is created in Project B (roles/owner)
a ServiceAccount Key is created for the above
vault_gcp_secret_backend (terraform) is created using credentials set to the above SA key
vault_gcp_secret_roleset created just like in the first scenario
Result:
the role specified in the roleset bindings is now added to the roleset SA
We checked GCP logs and we figured out that in the scenario that doesn't work, there is no attempt to call SetIamPolicy like in the scenario that works.
Any help with this is appreciated :).
Thanks!
LE: Vault is 1.9.3
The text was updated successfully, but these errors were encountered:
Doesn't work
Project A
:roles/owner
permissions inProject B
vault_gcp_secret_backend
(nocredentials
specified, relying on workload identity)vault_gcp_secret_roleset
inProject B
Result:
Project B
Project B
bindings
is not granted to the roleset ServiceAccountWorks
Same as above except:
Project B
(roles/owner
)vault_gcp_secret_backend
(terraform) is created usingcredentials
set to the above SA keyvault_gcp_secret_roleset
created just like in the first scenarioResult:
We checked GCP logs and we figured out that in the scenario that doesn't work, there is no attempt to call
SetIamPolicy
like in the scenario that works.Any help with this is appreciated :).
Thanks!
LE: Vault is 1.9.3
The text was updated successfully, but these errors were encountered: