Mint or rotate the application's registry robot
applications
Mint or rotate the application's registry robot
Make sure a push robot minted for this application backs its repository login: mint one when none does (with Ankra's registry administrator on the organisation's own registry, or with image_registry.admin_credential_name on a registry the organisation operates), refresh its secret when rotate is set, store the login as the platform-managed registry credential ankra-harbor-app-<application-id>, and write it into the repository's Actions secrets. A registry Ankra cannot administer answers 200 with provisioned false and a message naming what would let it. A browser session twin is mounted at the same path without the /api/v1 prefix (cookie authentication).
POST
Mint or rotate the application's registry robot
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Refresh the robot's secret even when one already backs the application; the previous secret stops working immediately.
Response
Successful Response
A robot was minted, rotated or revoked in this call.
GitHub refused the secrets write because the Ankra GitHub App lacks the Secrets permission.
The repository's Actions secrets now carry the robot login.