JFrog CLI version 2.52.9 creating refreshable tokens in contradiction with --help
Describe the bug
I am using JFrog CLI version 2.52.9 installed as part of the GitHub Action jfrog/setup-jfrog-cli@v4. Authentication of JFrog CLI with GitHub is handled via OIDC per https://jfrog.com/help/r/jfrog-platform-administration-documentation/configure-an-oidc-integration .
Running either of:
jf rt atc --expiry=300
jf rt atc --expiry=300 --refreshable=false
... results in a refreshable access token:
Per the cli docs:
--refreshable [Default: false] Set to true if you'd like the token to be refreshable. A refresh token will also be returned in order to be used to generate a new token once it expires.
Current behavior
See above.
Reproduction steps
See above.
Expected behavior
A non-refreshable token is generated.
JFrog CLI version
2.52.9
Operating system type and version
Ubuntu 22.04.4 LTS
JFrog Artifactory version
cloud
JFrog Xray version
cloud
@StephenWithPH
Thanks for using the JFrog CLI.
You're currently using the outdated command to create access tokens.
Could you give jf atc a try instead of jf rt atc, and inform us if it worked for you?
jf atc properly defaults to non-refreshable tokens.