Generate a Token in MyJFrog
Subscription Information
This feature is supported on the Cloud (SaaS) platform, with an Enterprise X or Enterprise+ license.
API tokens allow you to make changes to your JFrog account via REST API. Only Primary Admins have permission to generate or regenerate API tokens, but all Admins and Technical Members have permission to view API tokens.
Use an API Token in MyJFrog
Use a valid API token to authenticate access to MyFrog API and perform various management tasks, for example:
Manage your Custom Domain Names
Manage your Private Links
Manage your IP Allow List
Manage your JFrog Servers
Create an API Token in MyJFrog
To create an API token from your MyJFrog account:
-
Log into MyJFrog and click on your profile icon in the top right-hand corner.
-
From the drop-down menu, select API Token.
-
Click Generate Token. A new API token will appear in the text box.
-
Click Copy to copy the token, and paste it into your script or elsewhere to save it.
Warning
The API token gives you powerful capabilities to edit aspects of your JFrog subscription, so it is crucial that you keep your REST API token secure.
The API token expires after one year.
Note
In the MyJFrog portal > Notification Center, there is a notification regarding the expiration of API tokens, which is currently stated as, "Once the token is about to expire." Notifications are sent to users a certain number of days before the token expires. Specifically, notifications are triggered with these timelines:
- 30 days before expiration
- 10 days before expiration
- 5 days before expiration
- 1 day before expiration
- On the day of expiration
While users can edit the notification recipients (with the default Primary Admin and Admin roles), the timing of these notifications is not configurable.
Regenerate an API Token in MyJFrog
Regenerating a token before the previous token's expiration causes the old token to expire, and all features using the token to stop working.
To regenerate a token, click Regenerate Token in the API Token page.
Updated 22 days ago
