Supported version: Cloud based.
Supported Authentication: Token based Authentication.
IMPORTANT: Please make sure your Harness NextGen Connector instance must be accessible from the Klera Machine.
Steps to generate API Key from Harness NextGen UI:
1. Go to https://app.harness.io and login to your account.
2. Click on My Profile:
3. Click on +API Key:
4. Enter the name of API Key and click on save.
5. Click on +Token:
6. Enter the name of token and click on generate token button:
7. Copy the Token and save it in a Notepad file. This token will be used as API Key.
To configure Harness NextGen using token-based authentication, follow the steps below:-
- Enter Harness NextGen URL: https://app.harness.io
- Select “Create New Account” and add user friendly name for account “Harness NextGen Account”
- Check "Pass Parameter(s) in Header" and enter following details:
1. Token Parameter Key : x-api-key
2. Value : Bearer <Your API Key> - Click on “Save”.