Skip to content

Commit

Permalink
only use id for lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
meirish committed Jan 25, 2019
1 parent 0585c56 commit 62ff7fa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions vault/policy_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,7 @@ path "sys/capabilities-self" {
capabilities = ["update"]
}
# Allow a token to look up its own entity by name or id
path "identity/entity/name/{{identity.entity.name}}" {
capabilities = ["read"]
}
# Allow a token to look up its own entity by id
path "identity/entity/id/{{identity.entity.id}}" {
capabilities = ["read"]
}
Expand Down

0 comments on commit 62ff7fa

Please sign in to comment.