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

Consider use of GitHub secrets #6718

Closed
rarkins opened this issue Jul 9, 2020 · 3 comments
Closed

Consider use of GitHub secrets #6718

rarkins opened this issue Jul 9, 2020 · 3 comments
Assignees

Comments

@rarkins
Copy link
Collaborator

rarkins commented Jul 9, 2020

I think it's good to document any decision whether to use GitHub's secrets API or not.

@rarkins
Copy link
Collaborator Author

rarkins commented Jul 9, 2020

I don't think it's right for us currently. Reasoning:

  • Access to secrets means access to all secrets in a repo. e.g. could include deployment tokens etc. There is no way for an app to only get access to some secrets or only its own secrets somehow.
  • Permissions for GitHub Apps are not optional like for iOS apps. i.e. we can't say to users "grant us access to secrets if you want to use them but decline if you don't want". If they can't grant us access to all secrets then they can't install the app.

@viceice
Copy link
Member

viceice commented Jul 9, 2020

Haha, had that idea too and thrown away because the issues you mentioned. 😅

@rarkins rarkins closed this as completed Jul 9, 2020
@rarkins
Copy link
Collaborator Author

rarkins commented Jul 9, 2020

Closed! Left here in case anyone searches for it in future. We can reconsider if there's a day when GitHub supports (a) optional permissions and/or (b) scoped secrets (e.g. to an app)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants