Merge pull request #1282 from rileytg/patch-1

change github example team to admins
This commit is contained in:
Jeff Mitchell 2016-04-25 15:45:01 -04:00
commit 6e1288d23f

View File

@ -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