Using CLI to Create Access Tokens

CLI: How to use JFrog CLI to Create Access Tokens

AuthorFullName__c
Jeremy Leopold
articleNumber
000006011
ft:sourceType
Salesforce
FirstPublishedDate
2024-01-29T14:12:55Z
lastModifiedDate
2024-01-29
VersionNumber
2
The recommended method to create access tokens with JFrog CLI is to use the access-token-create command. Here is an example of it’s usage:
jf atc ci-token-nebula --scope=applied-permissions/groups:dev-team --reference=true --expiry=31556952 --description="Token for Dev Team. Owner bossman@devTeam.com" --access-token=<access-token>
It is important to note that this command requires authentication with a valid access token.
It is possible to provide the token with each command, as shown above, or configure your server once using the ‘jf c add / edit‘ command and adding the ‘--access-token’ option.

For more details on the usage of the ‘access-token-create’ command, refer to the help documentation by running jf atc -h.