GitHub Target

You can define a GitHub target to be used with GitHub Dynamic Secret.

Create a GitHub Target from the CLI

To create a GitHub target from the CLI, run the following command:

akeyless create-github-target \
--name <target name> \
--github-app-id <Github application ID> \
--github-app-private-key <Github application private key (base64-encoded key)> \
--github-base-url https://api.github.com

Where:

  • name: A unique name of the target. The name can include the path to the virtual folder where you want to create the new target, using slash / separators. If the folder does not exist, it will be created together with the target.

  • github-app-id: Provide the username of the Docker repository user with privileges to create temporary access tokens.

  • github-app-private-key: The GitHub application private key
    .

Create a GitHub Target in the Akeyless Console

  1. Log in to the Akeyless Console, and go to Targets > New > Infra Targets > GitHub.

  2. Define a Name of the target, and specify the Location as a path to the virtual folder where you want to create the new target, using slash / separators. If the folder does not exist, it will be created together with the target.

  3. Define the remaining parameters as follows:

  1. Click Save.

Did this page help you?