Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation references for user scope #1271

Merged
merged 1 commit into from
Sep 22, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/hab/src/command/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pub mod setup {
community. In addition, it is how you can perform continuous deployment \
with Habitat."));
try!(ui.para("The depot uses GitHub authentication with an access token with the \
user:email scope (https://help.github.\
user scope (https://help.github.\
com/articles/creating-an-access-token-for-command-line-use/)."));
try!(ui.para("If you would like to share your packages on the depot, please enter your \
GitHub access token. Otherwise, just enter No."));
Expand Down
2 changes: 1 addition & 1 deletion www/source/docs/share-packages-overview.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ You can create your own origin in the depot or be invited to join an existing on

## Setting up hab to authenticate to the depot

Because the depot uses GitHub to authenticate, you must generate a [GitHub access token](https://help.github.com/articles/creating-an-access-token-for-command-line-use/) for use with the `hab` command-line utility. The only rights this token needs at present is `user:email` since it is only used for authentication.
Because the depot uses GitHub to authenticate, you must generate a [GitHub access token](https://help.github.com/articles/creating-an-access-token-for-command-line-use/) for use with the `hab` command-line utility. The only rights the GitHub personal authorization token needs at present is `user` since it is used for authentication and to determine features based on team membership.

Once you have this token, you can set the `HAB_AUTH_TOKEN` [environment variable](/docs/reference/environment-vars/) to this value, so that any commands requiring authentication will use it.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The `hab` command-line interface (CLI) tool downloads its other components when

<%= partial "/shared/setup_environment_script_step" %>

> Note: The only rights the GitHub personal authorization token needs at present is `user:email` since it is only used for authentication. Also, you can opt-out of providing usage data at a later point in time by re-running the `hab setup` subcommand and typing `No` when asked if you want to provide usage data.
> Note: The only rights the GitHub personal authorization token needs at present is `user` since it is used for authentication and to determine features based on team membership. Also, you can opt-out of providing usage data at a later point in time by re-running the `hab setup` subcommand and typing `No` when asked if you want to provide usage data.

That's it. You're all set up and ready to create your first package. The first step in that process is to create a plan.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The `hab` command-line interface (CLI) tool downloads its other components when

<%= partial "/shared/setup_environment_script_step" %>

> Note: The only rights the GitHub personal authorization token needs at present is `user:email` since it is only used for authentication. Also, you can opt-out of providing usage data at a later point in time by re-running the `hab setup` subcommand and typing `No` when asked if you want to provide usage data.
> Note: The only rights the GitHub personal authorization token needs at present is `user` since it is used for authentication and to determine features based on team membership. Also, you can opt-out of providing usage data at a later point in time by re-running the `hab setup` subcommand and typing `No` when asked if you want to provide usage data.

That's it. You're all set up and ready to create your first package. The first step in that process is to create a plan.

Expand Down