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

Setup API tokens #2

Open
lakruzz opened this issue Mar 22, 2023 · 0 comments
Open

Setup API tokens #2

lakruzz opened this issue Mar 22, 2023 · 0 comments
Labels
Template Template issue

Comments

@lakruzz
Copy link
Member

lakruzz commented Mar 22, 2023

Now we will set up service tokens that have all permissions, so we can go all CLI from here.

Particularly this entry in the documentation about Service tokens describes what we are trying to accomplish:

Create Service Tokens

Create an admin Token. (Settings >> Service tokens)

Capture Token ID and Token (you will never see the Token again - so if you forget start over.

Give the token access to everything in your organization

image
Store the token and token id as secrets on GitHub

You need to store your token id and token in multiple places:

GitHub Action secrets

Go to the Secrets and variables in your repository (Settings >> Secrets and variables).

Click on actions and create two Repository secrets

image

GitHub Codespaces

Click on Codespaces and create two Repository secrets

image

Keep them for yourself on your PC

You may want to use this token and token id set elsewhere, so store them in your personal password vault too.


@lakruzz lakruzz added the Template Template issue label Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Template Template issue
Projects
None yet
Development

No branches or pull requests

1 participant