Skip to main content

registries_credentials

Creates, updates, deletes, gets or lists a registries_credentials resource.

Overview

Nameregistries_credentials
TypeResource
Idazure.container_registry.registries_credentials

Fields

The following fields are returned by SELECT queries:

The request was successful; the list of credentials retrieved and returned successfully.

NameDatatypeDescription
passwordsarrayThe list of passwords for a container registry.
usernamestringThe username for a container registry.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, registryNameLists the login credentials for the specified container registry.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
registryNamestringThe name of the container registry.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Lists the login credentials for the specified container registry.

SELECT
passwords,
username
FROM azure.container_registry.registries_credentials
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND registryName = '{{ registryName }}' -- required
;