Supported version: Server upto v2.6.0-rc1
API Rate Limit: No Limit
Supported Authentication: Token Based authentication
Steps to get API Token:
1. Login to your ArgoCD instance.
2. From the left panel go to Settings.
3. Click on the Accounts.
4. Select the account for which you want to generate a token.
5. Under the section 'Tokens', set the token expiry time (optional) and click on 'Generate New'.
6. After generating a new token, your token will appear below the 'Tokens' section (as shown in the image below).
IMPORTANT:
1. Please make sure your ArgoCD instance must be accessible from the Klera Machine.
2. To generate API Token (as described above), you account must have 'apiKey' capability enabled.
To configure ArgoCD using API Token:-
1. Enter your ArgoCD URL, for example: https://localhost:8080
2. Select “Create New Account” and add a user-friendly name for account for e.g. ArgoCD Connection Account.
3. Check "Pass Parameter(s) in Header" and enter the following details:
Key: Authorization
Value: Bearer <SPACE> <Your ArgoCD Token>
4. Click on “Save”.