Retrieving the Registry Secret

The authenticated producer user can retrieve their registry secret by querying the /secret endpoint using GET.

The returned secret is Base64 encoded and must be decoded before it can be used to log into the registry.

Item

Description

URI

/registry/api/v1/secret 

Method

GET 

Query parameters

N/A

Request body

N/A

Response codes

200: Processing complete

400: Bad request format.

Sample Response

The following shows a sample response for returning a Base64-encoded secret:

TXlTZWNyM3Q=