Harness API Key
Description
General
- Documentation: https://developer.harness.io/docs/category/api
- Summary: Harness provides two types of API tokens. The first type can be created at the user profile level and is prefixed with pat, which stands for Personal Account Token. The second type can be created at the service account level and is prefixed with sat, which stands for Service Account Token.
Harness provides two types of endpoint.
The default endpoint, available at https://app.harness.io.
The vanity endpoint, available at https://{company}.harness.io
which is a unique subdomain URL assigned to a specific company.
Revoke the secret
Personal API keys:
- Go to user profile in Harness.
- Under My API Keys, select API Key.
- Generate or rotate an API Key. Service account API keys:
- In Harness, select Account Settings, and then select Access Control.
- Select Service Accounts in the header, and then select the service account for which want to create an API key.
- Under API Keys, select API Key.
- Generate or rotate an API Key. Vanity url cannot be changed after setup.
Details for Harness API Key
-
Family: token
-
Category: secret_management
-
Company: Harness
-
High recall: False
-
Validity check available: True
-
Analyzer available: False
-
Revoker available: False
-
On-premise instances exist: False
-
Only valid secrets raise an alert: False
-
Minimum number of matches: 2
-
Occurrences found for one million commits: 0.002
-
Prefixed: False