v9

latestSwagger 2.0raw.githubusercontent.com2020-11-19111831.1 KB
Registries

Generate keys for a token of a specified container registry.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials

Path parameters

subscriptionIdstring required

The Microsoft Azure subscription ID.

resourceGroupNamestring required

The name of the resource group to which the container registry belongs.

registryNamestring required

The name of the container registry.

Query parameters

api-versionstring required

The client API version.

Request body

tokenIdstring

The resource ID of the token for which credentials have to be generated.

expirystring date-time

The expiry date of the generated credentials after which the credentials become invalid.

name'password1' | 'password2'

Specifies name of the password which should be regenerated if any -- password1 or password2.

Response

The request was successful; the request was well-formed and received properly.

usernamestring

The username for a container registry.