Integrations
GitHub
Connect GitHub

GitHub

  1. Go to GitHub (opens in a new tab) and log in.

  2. Click on your profile photo in the upper-right corner, then click Settings.

  3. In the left sidebar, click on Developer settings.

  4. In the left sidebar, under Personal access tokens select the kind of access token you want. Click Here (opens in a new tab) for more information.

To access enterprise features (e.g. Audit logs), create a Token (classic).

  1. Select Generate new token, then click on Generate new token

GitHub API

  1. Optionally, you can give your token a descriptive name and adjust it's Expiration.

  2. Select which Repositories should be accessible with this token and select the Permissions you would like to give this token. For more information about specific permission, click Here (opens in a new tab).

The needed scopes depend on the API endpoint and are specified in the corresponding documentation page.

  1. Click Generate token.

  2. Copy your token.

  3. Go to the Settings page in Admyral. Click on Create New Secret in the Secrets section.

  4. Give your credential a name, e.g. GitHub.

  5. The following secrets structure is expected:

KeyValue
access_tokenPaste your Access Token here
  1. Click on the Save button.

Alternatively, you can use the following CLI command structure:

admyral secret set github_secret --value access_token=your_access_token