1. Packages
  2. Azure Native v2
  3. API Docs
  4. containerregistry
  5. CredentialSet
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.containerregistry.CredentialSet

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

An object that represents a credential set resource for a container registry. Azure REST API version: 2023-01-01-preview.

Other available API versions: 2023-06-01-preview, 2023-07-01, 2023-08-01-preview, 2023-11-01-preview, 2024-11-01-preview.

Example Usage

CredentialSetCreate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var credentialSet = new AzureNative.ContainerRegistry.CredentialSet("credentialSet", new()
    {
        AuthCredentials = new[]
        {
            new AzureNative.ContainerRegistry.Inputs.AuthCredentialArgs
            {
                Name = AzureNative.ContainerRegistry.CredentialName.Credential1,
                PasswordSecretIdentifier = "https://myvault.vault.azure.net/secrets/password",
                UsernameSecretIdentifier = "https://myvault.vault.azure.net/secrets/username",
            },
        },
        CredentialSetName = "myCredentialSet",
        Identity = new AzureNative.ContainerRegistry.Inputs.IdentityPropertiesArgs
        {
            Type = AzureNative.ContainerRegistry.ResourceIdentityType.SystemAssigned,
        },
        LoginServer = "docker.io",
        RegistryName = "myRegistry",
        ResourceGroupName = "myResourceGroup",
    });

});
Copy
package main

import (
	containerregistry "github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containerregistry.NewCredentialSet(ctx, "credentialSet", &containerregistry.CredentialSetArgs{
			AuthCredentials: containerregistry.AuthCredentialArray{
				&containerregistry.AuthCredentialArgs{
					Name:                     pulumi.String(containerregistry.CredentialNameCredential1),
					PasswordSecretIdentifier: pulumi.String("https://myvault.vault.azure.net/secrets/password"),
					UsernameSecretIdentifier: pulumi.String("https://myvault.vault.azure.net/secrets/username"),
				},
			},
			CredentialSetName: pulumi.String("myCredentialSet"),
			Identity: &containerregistry.IdentityPropertiesArgs{
				Type: containerregistry.ResourceIdentityTypeSystemAssigned,
			},
			LoginServer:       pulumi.String("docker.io"),
			RegistryName:      pulumi.String("myRegistry"),
			ResourceGroupName: pulumi.String("myResourceGroup"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerregistry.CredentialSet;
import com.pulumi.azurenative.containerregistry.CredentialSetArgs;
import com.pulumi.azurenative.containerregistry.inputs.AuthCredentialArgs;
import com.pulumi.azurenative.containerregistry.inputs.IdentityPropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var credentialSet = new CredentialSet("credentialSet", CredentialSetArgs.builder()
            .authCredentials(AuthCredentialArgs.builder()
                .name("Credential1")
                .passwordSecretIdentifier("https://myvault.vault.azure.net/secrets/password")
                .usernameSecretIdentifier("https://myvault.vault.azure.net/secrets/username")
                .build())
            .credentialSetName("myCredentialSet")
            .identity(IdentityPropertiesArgs.builder()
                .type("SystemAssigned")
                .build())
            .loginServer("docker.io")
            .registryName("myRegistry")
            .resourceGroupName("myResourceGroup")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const credentialSet = new azure_native.containerregistry.CredentialSet("credentialSet", {
    authCredentials: [{
        name: azure_native.containerregistry.CredentialName.Credential1,
        passwordSecretIdentifier: "https://myvault.vault.azure.net/secrets/password",
        usernameSecretIdentifier: "https://myvault.vault.azure.net/secrets/username",
    }],
    credentialSetName: "myCredentialSet",
    identity: {
        type: azure_native.containerregistry.ResourceIdentityType.SystemAssigned,
    },
    loginServer: "docker.io",
    registryName: "myRegistry",
    resourceGroupName: "myResourceGroup",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

credential_set = azure_native.containerregistry.CredentialSet("credentialSet",
    auth_credentials=[{
        "name": azure_native.containerregistry.CredentialName.CREDENTIAL1,
        "password_secret_identifier": "https://myvault.vault.azure.net/secrets/password",
        "username_secret_identifier": "https://myvault.vault.azure.net/secrets/username",
    }],
    credential_set_name="myCredentialSet",
    identity={
        "type": azure_native.containerregistry.ResourceIdentityType.SYSTEM_ASSIGNED,
    },
    login_server="docker.io",
    registry_name="myRegistry",
    resource_group_name="myResourceGroup")
Copy
resources:
  credentialSet:
    type: azure-native:containerregistry:CredentialSet
    properties:
      authCredentials:
        - name: Credential1
          passwordSecretIdentifier: https://myvault.vault.azure.net/secrets/password
          usernameSecretIdentifier: https://myvault.vault.azure.net/secrets/username
      credentialSetName: myCredentialSet
      identity:
        type: SystemAssigned
      loginServer: docker.io
      registryName: myRegistry
      resourceGroupName: myResourceGroup
Copy

Create CredentialSet Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new CredentialSet(name: string, args: CredentialSetArgs, opts?: CustomResourceOptions);
@overload
def CredentialSet(resource_name: str,
                  args: CredentialSetArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def CredentialSet(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  registry_name: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  auth_credentials: Optional[Sequence[AuthCredentialArgs]] = None,
                  credential_set_name: Optional[str] = None,
                  identity: Optional[IdentityPropertiesArgs] = None,
                  login_server: Optional[str] = None)
func NewCredentialSet(ctx *Context, name string, args CredentialSetArgs, opts ...ResourceOption) (*CredentialSet, error)
public CredentialSet(string name, CredentialSetArgs args, CustomResourceOptions? opts = null)
public CredentialSet(String name, CredentialSetArgs args)
public CredentialSet(String name, CredentialSetArgs args, CustomResourceOptions options)
type: azure-native:containerregistry:CredentialSet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. CredentialSetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. CredentialSetArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. CredentialSetArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. CredentialSetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. CredentialSetArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var credentialSetResource = new AzureNative.Containerregistry.CredentialSet("credentialSetResource", new()
{
    RegistryName = "string",
    ResourceGroupName = "string",
    AuthCredentials = new[]
    {
        
        {
            { "name", "string" },
            { "passwordSecretIdentifier", "string" },
            { "usernameSecretIdentifier", "string" },
        },
    },
    CredentialSetName = "string",
    Identity = 
    {
        { "principalId", "string" },
        { "tenantId", "string" },
        { "type", "SystemAssigned" },
        { "userAssignedIdentities", 
        {
            { "string", 
            {
                { "clientId", "string" },
                { "principalId", "string" },
            } },
        } },
    },
    LoginServer = "string",
});
Copy
example, err := containerregistry.NewCredentialSet(ctx, "credentialSetResource", &containerregistry.CredentialSetArgs{
	RegistryName:      "string",
	ResourceGroupName: "string",
	AuthCredentials: []map[string]interface{}{
		map[string]interface{}{
			"name":                     "string",
			"passwordSecretIdentifier": "string",
			"usernameSecretIdentifier": "string",
		},
	},
	CredentialSetName: "string",
	Identity: map[string]interface{}{
		"principalId": "string",
		"tenantId":    "string",
		"type":        "SystemAssigned",
		"userAssignedIdentities": map[string]interface{}{
			"string": map[string]interface{}{
				"clientId":    "string",
				"principalId": "string",
			},
		},
	},
	LoginServer: "string",
})
Copy
var credentialSetResource = new CredentialSet("credentialSetResource", CredentialSetArgs.builder()
    .registryName("string")
    .resourceGroupName("string")
    .authCredentials(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .credentialSetName("string")
    .identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .loginServer("string")
    .build());
Copy
credential_set_resource = azure_native.containerregistry.CredentialSet("credentialSetResource",
    registry_name=string,
    resource_group_name=string,
    auth_credentials=[{
        name: string,
        passwordSecretIdentifier: string,
        usernameSecretIdentifier: string,
    }],
    credential_set_name=string,
    identity={
        principalId: string,
        tenantId: string,
        type: SystemAssigned,
        userAssignedIdentities: {
            string: {
                clientId: string,
                principalId: string,
            },
        },
    },
    login_server=string)
Copy
const credentialSetResource = new azure_native.containerregistry.CredentialSet("credentialSetResource", {
    registryName: "string",
    resourceGroupName: "string",
    authCredentials: [{
        name: "string",
        passwordSecretIdentifier: "string",
        usernameSecretIdentifier: "string",
    }],
    credentialSetName: "string",
    identity: {
        principalId: "string",
        tenantId: "string",
        type: "SystemAssigned",
        userAssignedIdentities: {
            string: {
                clientId: "string",
                principalId: "string",
            },
        },
    },
    loginServer: "string",
});
Copy
type: azure-native:containerregistry:CredentialSet
properties:
    authCredentials:
        - name: string
          passwordSecretIdentifier: string
          usernameSecretIdentifier: string
    credentialSetName: string
    identity:
        principalId: string
        tenantId: string
        type: SystemAssigned
        userAssignedIdentities:
            string:
                clientId: string
                principalId: string
    loginServer: string
    registryName: string
    resourceGroupName: string
Copy

CredentialSet Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The CredentialSet resource accepts the following input properties:

RegistryName
This property is required.
Changes to this property will trigger replacement.
string
The name of the container registry.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
AuthCredentials List<Pulumi.AzureNative.ContainerRegistry.Inputs.AuthCredential>
List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
CredentialSetName Changes to this property will trigger replacement. string
The name of the credential set.
Identity Pulumi.AzureNative.ContainerRegistry.Inputs.IdentityProperties
Identities associated with the resource. This is used to access the KeyVault secrets.
LoginServer string
The credentials are stored for this upstream or login server.
RegistryName
This property is required.
Changes to this property will trigger replacement.
string
The name of the container registry.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
AuthCredentials []AuthCredentialArgs
List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
CredentialSetName Changes to this property will trigger replacement. string
The name of the credential set.
Identity IdentityPropertiesArgs
Identities associated with the resource. This is used to access the KeyVault secrets.
LoginServer string
The credentials are stored for this upstream or login server.
registryName
This property is required.
Changes to this property will trigger replacement.
String
The name of the container registry.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
authCredentials List<AuthCredential>
List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
credentialSetName Changes to this property will trigger replacement. String
The name of the credential set.
identity IdentityProperties
Identities associated with the resource. This is used to access the KeyVault secrets.
loginServer String
The credentials are stored for this upstream or login server.
registryName
This property is required.
Changes to this property will trigger replacement.
string
The name of the container registry.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
authCredentials AuthCredential[]
List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
credentialSetName Changes to this property will trigger replacement. string
The name of the credential set.
identity IdentityProperties
Identities associated with the resource. This is used to access the KeyVault secrets.
loginServer string
The credentials are stored for this upstream or login server.
registry_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the container registry.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
auth_credentials Sequence[AuthCredentialArgs]
List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
credential_set_name Changes to this property will trigger replacement. str
The name of the credential set.
identity IdentityPropertiesArgs
Identities associated with the resource. This is used to access the KeyVault secrets.
login_server str
The credentials are stored for this upstream or login server.
registryName
This property is required.
Changes to this property will trigger replacement.
String
The name of the container registry.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
authCredentials List<Property Map>
List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
credentialSetName Changes to this property will trigger replacement. String
The name of the credential set.
identity Property Map
Identities associated with the resource. This is used to access the KeyVault secrets.
loginServer String
The credentials are stored for this upstream or login server.

Outputs

All input properties are implicitly available as output properties. Additionally, the CredentialSet resource produces the following output properties:

CreationDate string
The creation date of credential store resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource.
ProvisioningState string
Provisioning state of the resource.
SystemData Pulumi.AzureNative.ContainerRegistry.Outputs.SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
Type string
The type of the resource.
CreationDate string
The creation date of credential store resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource.
ProvisioningState string
Provisioning state of the resource.
SystemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
Type string
The type of the resource.
creationDate String
The creation date of credential store resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource.
provisioningState String
Provisioning state of the resource.
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type String
The type of the resource.
creationDate string
The creation date of credential store resource.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource.
provisioningState string
Provisioning state of the resource.
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type string
The type of the resource.
creation_date str
The creation date of credential store resource.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource.
provisioning_state str
Provisioning state of the resource.
system_data SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type str
The type of the resource.
creationDate String
The creation date of credential store resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource.
provisioningState String
Provisioning state of the resource.
systemData Property Map
Metadata pertaining to creation and last modification of the resource.
type String
The type of the resource.

Supporting Types

AuthCredential
, AuthCredentialArgs

Name string | Pulumi.AzureNative.ContainerRegistry.CredentialName
The name of the credential.
PasswordSecretIdentifier string
KeyVault Secret URI for accessing the password.
UsernameSecretIdentifier string
KeyVault Secret URI for accessing the username.
Name string | CredentialName
The name of the credential.
PasswordSecretIdentifier string
KeyVault Secret URI for accessing the password.
UsernameSecretIdentifier string
KeyVault Secret URI for accessing the username.
name String | CredentialName
The name of the credential.
passwordSecretIdentifier String
KeyVault Secret URI for accessing the password.
usernameSecretIdentifier String
KeyVault Secret URI for accessing the username.
name string | CredentialName
The name of the credential.
passwordSecretIdentifier string
KeyVault Secret URI for accessing the password.
usernameSecretIdentifier string
KeyVault Secret URI for accessing the username.
name str | CredentialName
The name of the credential.
password_secret_identifier str
KeyVault Secret URI for accessing the password.
username_secret_identifier str
KeyVault Secret URI for accessing the username.
name String | "Credential1"
The name of the credential.
passwordSecretIdentifier String
KeyVault Secret URI for accessing the password.
usernameSecretIdentifier String
KeyVault Secret URI for accessing the username.

AuthCredentialResponse
, AuthCredentialResponseArgs

CredentialHealth This property is required. Pulumi.AzureNative.ContainerRegistry.Inputs.CredentialHealthResponse
This provides data pertaining to the health of the auth credential.
Name string
The name of the credential.
PasswordSecretIdentifier string
KeyVault Secret URI for accessing the password.
UsernameSecretIdentifier string
KeyVault Secret URI for accessing the username.
CredentialHealth This property is required. CredentialHealthResponse
This provides data pertaining to the health of the auth credential.
Name string
The name of the credential.
PasswordSecretIdentifier string
KeyVault Secret URI for accessing the password.
UsernameSecretIdentifier string
KeyVault Secret URI for accessing the username.
credentialHealth This property is required. CredentialHealthResponse
This provides data pertaining to the health of the auth credential.
name String
The name of the credential.
passwordSecretIdentifier String
KeyVault Secret URI for accessing the password.
usernameSecretIdentifier String
KeyVault Secret URI for accessing the username.
credentialHealth This property is required. CredentialHealthResponse
This provides data pertaining to the health of the auth credential.
name string
The name of the credential.
passwordSecretIdentifier string
KeyVault Secret URI for accessing the password.
usernameSecretIdentifier string
KeyVault Secret URI for accessing the username.
credential_health This property is required. CredentialHealthResponse
This provides data pertaining to the health of the auth credential.
name str
The name of the credential.
password_secret_identifier str
KeyVault Secret URI for accessing the password.
username_secret_identifier str
KeyVault Secret URI for accessing the username.
credentialHealth This property is required. Property Map
This provides data pertaining to the health of the auth credential.
name String
The name of the credential.
passwordSecretIdentifier String
KeyVault Secret URI for accessing the password.
usernameSecretIdentifier String
KeyVault Secret URI for accessing the username.

CredentialHealthResponse
, CredentialHealthResponseArgs

ErrorCode string
Error code representing the health check error.
ErrorMessage string
Descriptive message representing the health check error.
Status string
The health status of credential.
ErrorCode string
Error code representing the health check error.
ErrorMessage string
Descriptive message representing the health check error.
Status string
The health status of credential.
errorCode String
Error code representing the health check error.
errorMessage String
Descriptive message representing the health check error.
status String
The health status of credential.
errorCode string
Error code representing the health check error.
errorMessage string
Descriptive message representing the health check error.
status string
The health status of credential.
error_code str
Error code representing the health check error.
error_message str
Descriptive message representing the health check error.
status str
The health status of credential.
errorCode String
Error code representing the health check error.
errorMessage String
Descriptive message representing the health check error.
status String
The health status of credential.

CredentialName
, CredentialNameArgs

Credential1
Credential1
CredentialNameCredential1
Credential1
Credential1
Credential1
Credential1
Credential1
CREDENTIAL1
Credential1
"Credential1"
Credential1

IdentityProperties
, IdentityPropertiesArgs

PrincipalId string
The principal ID of resource identity.
TenantId string
The tenant ID of resource.
Type Pulumi.AzureNative.ContainerRegistry.ResourceIdentityType
The identity type.
UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.ContainerRegistry.Inputs.UserIdentityProperties>
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
PrincipalId string
The principal ID of resource identity.
TenantId string
The tenant ID of resource.
Type ResourceIdentityType
The identity type.
UserAssignedIdentities map[string]UserIdentityProperties
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
principalId String
The principal ID of resource identity.
tenantId String
The tenant ID of resource.
type ResourceIdentityType
The identity type.
userAssignedIdentities Map<String,UserIdentityProperties>
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
principalId string
The principal ID of resource identity.
tenantId string
The tenant ID of resource.
type ResourceIdentityType
The identity type.
userAssignedIdentities {[key: string]: UserIdentityProperties}
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
principal_id str
The principal ID of resource identity.
tenant_id str
The tenant ID of resource.
type ResourceIdentityType
The identity type.
user_assigned_identities Mapping[str, UserIdentityProperties]
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
principalId String
The principal ID of resource identity.
tenantId String
The tenant ID of resource.
type "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"
The identity type.
userAssignedIdentities Map<Property Map>
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

IdentityPropertiesResponse
, IdentityPropertiesResponseArgs

PrincipalId string
The principal ID of resource identity.
TenantId string
The tenant ID of resource.
Type string
The identity type.
UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.ContainerRegistry.Inputs.UserIdentityPropertiesResponse>
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
PrincipalId string
The principal ID of resource identity.
TenantId string
The tenant ID of resource.
Type string
The identity type.
UserAssignedIdentities map[string]UserIdentityPropertiesResponse
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
principalId String
The principal ID of resource identity.
tenantId String
The tenant ID of resource.
type String
The identity type.
userAssignedIdentities Map<String,UserIdentityPropertiesResponse>
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
principalId string
The principal ID of resource identity.
tenantId string
The tenant ID of resource.
type string
The identity type.
userAssignedIdentities {[key: string]: UserIdentityPropertiesResponse}
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
principal_id str
The principal ID of resource identity.
tenant_id str
The tenant ID of resource.
type str
The identity type.
user_assigned_identities Mapping[str, UserIdentityPropertiesResponse]
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
principalId String
The principal ID of resource identity.
tenantId String
The tenant ID of resource.
type String
The identity type.
userAssignedIdentities Map<Property Map>
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

ResourceIdentityType
, ResourceIdentityTypeArgs

SystemAssigned
SystemAssigned
UserAssigned
UserAssigned
SystemAssigned_UserAssigned
SystemAssigned, UserAssigned
None
None
ResourceIdentityTypeSystemAssigned
SystemAssigned
ResourceIdentityTypeUserAssigned
UserAssigned
ResourceIdentityType_SystemAssigned_UserAssigned
SystemAssigned, UserAssigned
ResourceIdentityTypeNone
None
SystemAssigned
SystemAssigned
UserAssigned
UserAssigned
SystemAssigned_UserAssigned
SystemAssigned, UserAssigned
None
None
SystemAssigned
SystemAssigned
UserAssigned
UserAssigned
SystemAssigned_UserAssigned
SystemAssigned, UserAssigned
None
None
SYSTEM_ASSIGNED
SystemAssigned
USER_ASSIGNED
UserAssigned
SYSTEM_ASSIGNED_USER_ASSIGNED
SystemAssigned, UserAssigned
NONE
None
"SystemAssigned"
SystemAssigned
"UserAssigned"
UserAssigned
"SystemAssigned, UserAssigned"
SystemAssigned, UserAssigned
"None"
None

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource modification (UTC).
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource modification (UTC).
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource modification (UTC).
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource modification (UTC).
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource modification (UTC).
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource modification (UTC).
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

UserIdentityProperties
, UserIdentityPropertiesArgs

ClientId string
The client id of user assigned identity.
PrincipalId string
The principal id of user assigned identity.
ClientId string
The client id of user assigned identity.
PrincipalId string
The principal id of user assigned identity.
clientId String
The client id of user assigned identity.
principalId String
The principal id of user assigned identity.
clientId string
The client id of user assigned identity.
principalId string
The principal id of user assigned identity.
client_id str
The client id of user assigned identity.
principal_id str
The principal id of user assigned identity.
clientId String
The client id of user assigned identity.
principalId String
The principal id of user assigned identity.

UserIdentityPropertiesResponse
, UserIdentityPropertiesResponseArgs

ClientId string
The client id of user assigned identity.
PrincipalId string
The principal id of user assigned identity.
ClientId string
The client id of user assigned identity.
PrincipalId string
The principal id of user assigned identity.
clientId String
The client id of user assigned identity.
principalId String
The principal id of user assigned identity.
clientId string
The client id of user assigned identity.
principalId string
The principal id of user assigned identity.
client_id str
The client id of user assigned identity.
principal_id str
The principal id of user assigned identity.
clientId String
The client id of user assigned identity.
principalId String
The principal id of user assigned identity.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:containerregistry:CredentialSet myCredentialSet /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi