From 5061b670dbd4f536c5845e6d87b1a8b4eb7be18d Mon Sep 17 00:00:00 2001 From: Riley Guerin Date: Fri, 1 Apr 2016 07:48:54 -0700 Subject: [PATCH 1/2] 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 d94cc99777..2d50f996ee 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 From e62254a5653d93fd41044909bfe5ea02581878e7 Mon Sep 17 00:00:00 2001 From: Riley Guerin Date: Fri, 1 Apr 2016 07:49:25 -0700 Subject: [PATCH 2/2] fix typo --- website/source/docs/auth/github.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/auth/github.html.md b/website/source/docs/auth/github.html.md index 2d50f996ee..1d3b5ace21 100644 --- a/website/source/docs/auth/github.html.md +++ b/website/source/docs/auth/github.html.md @@ -113,7 +113,7 @@ Success! Data written to: auth/github/map/teams/admins 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 "admin" 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