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:
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.
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.