GitHub - OIDC
To use GitHub as an IdP to authenticate the Akeyless Platform by way of OIDC, follow the steps below.
Create an OAuth App
-
In your GitHub account, go to Settings > Developer settings and select New OAuth App.
-
For Homepage URL set
https://console.akeyless.io, for Authorization callback URL sethttps://auth.akeyless.io/oidc/callbackand click Register application.
-
Once the application has been created, you need to obtain the Client ID and Client secret:

-
To bind the GitHub Client ID with your Akeyless account, create an OIDC Authentication Method using either CLI or UI, as described below.
Create an OIDC Authentication Method with the CLI
akeyless auth-method create oidc --name 'my GitHub app' --issuer https://github.com --client-id {your-client-id} --client-secret {your-client-secret} --unique-identifier {your-unique-identifier (for example, 'email' or 'username')}The result should look like the following:
Auth Method my GitHub app successfully created
- Access ID: p-xxxxxxxxLog in With OIDC Using the CLI
-
Configure a new profile with your Access ID from the previous step and OIDC type (if no profile name is provided, the default will be configured):
akeyless configure --access-id p-xxxxxxx --access-type oidc --profile 'github-oidc' -
Now, you can run any Akeyless CLI command and be authenticated with GitHub:
akeyless list-items --profile github-oidc
Updated 18 days ago
