I am following the instructions in the documentation on this subject:
I’ve set token policies at the organization level and when I authenticate using the Github personal access token (PAT) I see those policies, however, my Github user belongs to a team called “development”, and I defined a policy called “protobuilder”. I ran the following:
vault write auth/github/map/teams/development value=protobuilder
Then I logged in as the user in the development team with that user’s PAT
vault login -method=github
GitHub Personal Access Token (will be hidden):
Success! You are now authenticated. The token information displayed below
is already stored in the token helper. You do NOT need to run “vault login”
again. Future Vault requests will automatically use this token.
[redacted by admin]
I am not seeing the protobuilder policy assigned. Any idea what I missed?