Share credentials with GitHub
Register GitHub Apps and store the credentials in Red Hat Developer Hub to enable secure communication. For security, create two separate GitHub Apps following the principle of least privilege:
Before you begin
- You have enough permissions in GitHub to create and manage a GitHub App.
Tip Alternatively, ask your GitHub administrator to prepare the required GitHub App.
- You have added a custom Developer Hub application configuration, and have enough permissions to change it.
About this task
- Integration App (Developer Hub to GitHub)
- Authenticates Developer Hub to GitHub for catalog operations such as importing users, groups, and repositories. Requires:
GITHUB_APP_APP_ID,GITHUB_APP_CLIENT_ID_INTEGRATION,GITHUB_APP_CLIENT_SECRET_INTEGRATION, andGITHUB_APP_PRIVATE_KEY. - Authentication App (user to Developer Hub)
- Authenticates users signing in to Developer Hub with their GitHub credentials. Requires only OAuth credentials:
GITHUB_APP_CLIENT_IDandGITHUB_APP_CLIENT_SECRET.
Procedure
Results
- Verify that the secret key-value pairs for both apps are stored in your Developer Hub secrets.