What is a Reference Token?

PLATFORM: API Key deprecation and the new Reference Tokens

AuthorFullName__c
David Livshin
articleNumber
000005407
ft:sourceType
Salesforce
FirstPublishedDate
2022-09-15T08:12:30Z
lastModifiedDate
2024-03-10T07:49:13Z
VersionNumber
8
A Reference Token is simply a short string of characters that refers to an actual token.
To obtain a Reference Token, users can request the token using the create-token request API, by setting the “include_reference_token” parameter to true. They can also use the JFrog Platform WebUI Profile page to generate this token.

Note: When creating the token via the user’s Profile page, this parameter is always set to true, and the resulting UI generated token is always a Reference Token.

The reference token can then be used to authenticate with the JFrog platform as a bearer token, similarly to an API Key (with the JFrog API Key header), or even as alternative basic credentials.