Open DavidRadoorHummel opened 1 year ago
Please reevaluate the reason for having the max expiry access token value as a constant set to 3600 seconds.
There should be no reason to even limit this value in the CLI client since the Artifactory instance it is communicating with will limit expiry based on the system configuration.
Hello,
When attempting to create an access token:
jf rt atc developeruser --expiry=5000 --server-id=devuser
If you're non-admin, you'll get the error:
This threshold of 3600 seconds seems arbitrarily defined and is not in reference to any system configuration in Artifactory. In this concrete example,
developeruser
can create identity tokens with a default expiry of 31 days (2,678,400 seconds).In our use-case a max value of 3600 is worthless - is there a way to increase the threshold? Is there a setting in Artifactory that we somehow missed? Or is this a limitation of JFrog CLI?
Best regards David