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

Switch from Personal Access Token to a Deploy Key #14

Open
captn3m0 opened this issue Feb 17, 2020 · 1 comment
Open

Switch from Personal Access Token to a Deploy Key #14

captn3m0 opened this issue Feb 17, 2020 · 1 comment

Comments

@captn3m0
Copy link
Member

From the README:

# This should be a personal access token made by a member of organization on his/her
# behalf who can read the Keyhouse repository. Go to this
# https://github.com/settings/tokens/new?description=Keyhouse%20Token&scopes=repo
# to make a new token with correct scopes.
token = 'secret_token'

Using a PAT is riskier, since it gives complete user-rights on all repos for the user who creates the token. Putting such a token across multiple servers is not a great idea.

Instead, support a Identity File in the config, and use git clone over SSH with a GitHub Deploy Key instead.

@twaritwaikar
Copy link
Member

cc @kanav99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants