What are API tokens and how do you manage them?
BeginnerConceptCredentials & security
Answer
Per-user tokens generated in User > Security > API Token, used instead of passwords for CLI, REST and scripts. They inherit the user's permissions, can be named and revoked individually, and their last use is tracked. Disable legacy tokens (security: apiToken: creationOfLegacyTokenEnabled: false). For automation, create a dedicated service user with minimal permissions rather than using an admin's token.
More on Credentials & security
What credential types does Jenkins support out of the box?BeginnerWhat is the difference between Global and System credential scope?IntermediateHow do folder-scoped credentials help multi-team controllers?IntermediateHow does Jenkins mask secrets in logs and what are its limits?AdvancedWhat authorization strategies are available?IntermediateWhat are the key permissions to understand in matrix auth?Intermediate