Connect to Jenkins using API token authentication
-
- UpdatedJan 30, 2025
- 1 minute read
- Xanadu
- DevOps
Connect to Jenkins using API token authentication instead of user name and password.
Before you begin
Role required:
- Jenkins: admin or any user with overall Read and Job Read roles
About this task
You can have multiple active API tokens at the same time and track the usage of your tokens. You can also revoke API tokens as needed. You can also use the Jenkins API token for authentication when you're using the Jenkins CLI.
Procedure