Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with gcp artifact registry roleset: unsupported ressource type #109

Open
artifact-reg opened this issue Mar 29, 2021 · 3 comments
Open

Comments

@artifact-reg
Copy link

hello
I am trying to add permission at artifact registry repository level using vault roleset. I got unsupported ressource type
thanks for your support and best regards

cat bind.hcl
resource "https://artifactregistry.googleapis.com/v1beta2/projects/prj-id/locations/europe-west1/repositories/test123" {
roles = ["roles/artifactregistry.reader"]
}

./vault write gcp/roleset/my-token-roleset project="prj-id" secret_type="access_token" token_scopes="https://www.googleapis.com/auth/cloud-platform" [email protected]
Error writing data to gcp/roleset/my-token-roleset: Error making API request.

URL: PUT http://127.0.0.1:8200/v1/gcp/roleset/my-token-roleset
Code: 400. Errors:

@austingebauer
Copy link
Contributor

Thanks for opening this @artifact-reg! We currently don't support artifact registry as a resource for assigning roles, so this is a feature request. It's unlikely that we pick this up any time soon. We'd be happy to review a pull request if you want to add support.

@danjeffery
Copy link

@austingebauer I'm also interested in why this is not supported. Google is EOL very soon on container registry so this is a big deal for some folks.

A PR was contributed: #110
It was then closed with no explanation (or response from Hashicorp) a year later.

@bmaximuml
Copy link

This is fixed in: hashicorp/vault#28089

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants