User Authentication
Last updated
Was this helpful?
Last updated
Was this helpful?
Authentication to the Release API is done using headers. Users must generate a user authentication token using the Release CLI, then include it in API requests.
Follow the installation instructions at:
To generate a user authentication token, run the following command interactively from your local machine:
After authentication, the Release CLI stores credentials in ~/.release.yaml
.
For non-interactive environments, such as CI/CD systems or programmatic use:
Install and authenticate the Release CLI on your local machine using release auth login
.
Copy the login
and token
values from the Release config file at ~/.release.yaml
.
Or you can visit to copy your user auth token from the Release user inteface
Once you have generated a user authentication token, use the following headers in API requests:
X-User-Token
: The authentication token retrieved from the Release CLI.
X-User-Email
: The user email associated with the authenticated Release account.
Include these headers in all API requests to authenticate with the Release API.