From 0fac5b906e9b1410dd3a70db2f7f2425e15feedc Mon Sep 17 00:00:00 2001 From: Riley Guerin Date: Fri, 1 Apr 2016 07:48:54 -0700 Subject: [PATCH] change github example team to admins somewhat recently github has gone away from the previous model of an "owners" team https://help.github.com/articles/converting-your-previous-owners-team-to-the-improved-organization-permissions/ you can be an "Owner" of the org still but this does not map to vault as one *might* expect given these docs --- website/source/docs/auth/github.html.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/source/docs/auth/github.html.md b/website/source/docs/auth/github.html.md index d94cc9977..2d50f996e 100644 --- a/website/source/docs/auth/github.html.md +++ b/website/source/docs/auth/github.html.md @@ -106,14 +106,14 @@ policies within Vault. Use the `map/teams/` endpoints to do that. 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 "admin" team using a Personal Access Token with the `read:org` scope. ``` $ vault auth -method=github token=000000905b381e723b3d6a7d52f148a5d43c4b45