| @@ -0,0 +1,13 @@ | |||
| 1 | + | # vault | |
| 2 | + | ||
| 3 | + | * assign policy `foo` to github team `admins`: | |
| 4 | + | ||
| 5 | + | `vault write auth/github/map/teams/admins value=foo` | |
| 6 | + | ||
| 7 | + | * assign policy `foo` directly to a user in the configured organisation: | |
| 8 | + | ||
| 9 | + | `vault write auth/github/map/users/glitchcrab value=foo` | |
| 10 | + | ||
| 11 | + | * assign multiple policies to github team `admins`: | |
| 12 | + | ||
| 13 | + | `vault write auth/github/map/teams/admins value=foo,bar` | |
simon revised this gist 1 month ago · edf15b7
1 file changed, 13 insertions