mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-24 04:01:37 +01:00
Merge pull request #1282 from rileytg/patch-1
change github example team to admins
This commit is contained in:
commit
6e1288d23f
@ -108,14 +108,14 @@ you will need to include it as: `some-amazing-team`.
|
||||
Example:
|
||||
|
||||
```
|
||||
$ vault write auth/github/map/teams/owners value=root
|
||||
Success! Data written to: auth/github/map/teams/owners
|
||||
$ vault write auth/github/map/teams/admins value=root
|
||||
Success! Data written to: auth/github/map/teams/admins
|
||||
```
|
||||
|
||||
The above would make anyone in the "owners" team a root user in Vault
|
||||
The above would make anyone in the "admins" team a root user in Vault
|
||||
(not recommended).
|
||||
|
||||
You can then auth with a user that is a member of the "owners" team using a Personal Access Token with the `read:org` scope.
|
||||
You can then auth with a user that is a member of the "admins" team using a Personal Access Token with the `read:org` scope.
|
||||
|
||||
```
|
||||
$ vault auth -method=github token=000000905b381e723b3d6a7d52f148a5d43c4b45
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user