azure-native.containerregistry.getCredentialSet
Explore with Pulumi AI
Gets the properties of the specified credential set resource.
Uses 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, 2025-03-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native containerregistry [ApiVersion]. See the version guide for details.
Using getCredentialSet
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCredentialSet(args: GetCredentialSetArgs, opts?: InvokeOptions): Promise<GetCredentialSetResult>
function getCredentialSetOutput(args: GetCredentialSetOutputArgs, opts?: InvokeOptions): Output<GetCredentialSetResult>def get_credential_set(credential_set_name: Optional[str] = None,
                       registry_name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetCredentialSetResult
def get_credential_set_output(credential_set_name: Optional[pulumi.Input[str]] = None,
                       registry_name: Optional[pulumi.Input[str]] = None,
                       resource_group_name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetCredentialSetResult]func LookupCredentialSet(ctx *Context, args *LookupCredentialSetArgs, opts ...InvokeOption) (*LookupCredentialSetResult, error)
func LookupCredentialSetOutput(ctx *Context, args *LookupCredentialSetOutputArgs, opts ...InvokeOption) LookupCredentialSetResultOutput> Note: This function is named LookupCredentialSet in the Go SDK.
public static class GetCredentialSet 
{
    public static Task<GetCredentialSetResult> InvokeAsync(GetCredentialSetArgs args, InvokeOptions? opts = null)
    public static Output<GetCredentialSetResult> Invoke(GetCredentialSetInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCredentialSetResult> getCredentialSet(GetCredentialSetArgs args, InvokeOptions options)
public static Output<GetCredentialSetResult> getCredentialSet(GetCredentialSetArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:containerregistry:getCredentialSet
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Credential
Set stringName  - The name of the credential set.
 - Registry
Name string - The name of the container registry.
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- Credential
Set stringName  - The name of the credential set.
 - Registry
Name string - The name of the container registry.
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- credential
Set StringName  - The name of the credential set.
 - registry
Name String - The name of the container registry.
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 
- credential
Set stringName  - The name of the credential set.
 - registry
Name string - The name of the container registry.
 - resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- credential_
set_ strname  - The name of the credential set.
 - registry_
name str - The name of the container registry.
 - resource_
group_ strname  - The name of the resource group. The name is case insensitive.
 
- credential
Set StringName  - The name of the credential set.
 - registry
Name String - The name of the container registry.
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 
getCredentialSet Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Creation
Date string - The creation date of credential store resource.
 - Id string
 - The resource ID.
 - Name string
 - The name of the resource.
 - Provisioning
State string - Provisioning state of the resource.
 - System
Data Pulumi.Azure Native. Container Registry. Outputs. System Data Response  - Metadata pertaining to creation and last modification of the resource.
 - Type string
 - The type of the resource.
 - Auth
Credentials List<Pulumi.Azure Native. Container Registry. Outputs. Auth Credential Response>  - List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
 - Identity
Pulumi.
Azure Native. Container Registry. Outputs. Identity Properties Response  - Identities associated with the resource. This is used to access the KeyVault secrets.
 - Login
Server string - The credentials are stored for this upstream or login server.
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Creation
Date string - The creation date of credential store resource.
 - Id string
 - The resource ID.
 - Name string
 - The name of the resource.
 - Provisioning
State string - Provisioning state of the resource.
 - System
Data SystemData Response  - Metadata pertaining to creation and last modification of the resource.
 - Type string
 - The type of the resource.
 - Auth
Credentials []AuthCredential Response  - List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
 - Identity
Identity
Properties Response  - Identities associated with the resource. This is used to access the KeyVault secrets.
 - Login
Server string - The credentials are stored for this upstream or login server.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - creation
Date String - The creation date of credential store resource.
 - id String
 - The resource ID.
 - name String
 - The name of the resource.
 - provisioning
State String - Provisioning state of the resource.
 - system
Data SystemData Response  - Metadata pertaining to creation and last modification of the resource.
 - type String
 - The type of the resource.
 - auth
Credentials List<AuthCredential Response>  - List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
 - identity
Identity
Properties Response  - Identities associated with the resource. This is used to access the KeyVault secrets.
 - login
Server String - The credentials are stored for this upstream or login server.
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - creation
Date string - The creation date of credential store resource.
 - id string
 - The resource ID.
 - name string
 - The name of the resource.
 - provisioning
State string - Provisioning state of the resource.
 - system
Data SystemData Response  - Metadata pertaining to creation and last modification of the resource.
 - type string
 - The type of the resource.
 - auth
Credentials AuthCredential Response[]  - List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
 - identity
Identity
Properties Response  - Identities associated with the resource. This is used to access the KeyVault secrets.
 - login
Server string - The credentials are stored for this upstream or login server.
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - creation_
date str - The creation date of credential store resource.
 - id str
 - The resource ID.
 - name str
 - The name of the resource.
 - provisioning_
state str - Provisioning state of the resource.
 - system_
data SystemData Response  - Metadata pertaining to creation and last modification of the resource.
 - type str
 - The type of the resource.
 - auth_
credentials Sequence[AuthCredential Response]  - List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
 - identity
Identity
Properties Response  - 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.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - creation
Date String - The creation date of credential store resource.
 - id String
 - The resource ID.
 - name String
 - The name of the resource.
 - provisioning
State String - Provisioning state of the resource.
 - system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
 - type String
 - The type of the resource.
 - auth
Credentials List<Property Map> - List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
 - identity Property Map
 - Identities associated with the resource. This is used to access the KeyVault secrets.
 - login
Server String - The credentials are stored for this upstream or login server.
 
Supporting Types
AuthCredentialResponse  
- Credential
Health Pulumi.Azure Native. Container Registry. Inputs. Credential Health Response  - This provides data pertaining to the health of the auth credential.
 - Name string
 - The name of the credential.
 - Password
Secret stringIdentifier  - KeyVault Secret URI for accessing the password.
 - Username
Secret stringIdentifier  - KeyVault Secret URI for accessing the username.
 
- Credential
Health CredentialHealth Response  - This provides data pertaining to the health of the auth credential.
 - Name string
 - The name of the credential.
 - Password
Secret stringIdentifier  - KeyVault Secret URI for accessing the password.
 - Username
Secret stringIdentifier  - KeyVault Secret URI for accessing the username.
 
- credential
Health CredentialHealth Response  - This provides data pertaining to the health of the auth credential.
 - name String
 - The name of the credential.
 - password
Secret StringIdentifier  - KeyVault Secret URI for accessing the password.
 - username
Secret StringIdentifier  - KeyVault Secret URI for accessing the username.
 
- credential
Health CredentialHealth Response  - This provides data pertaining to the health of the auth credential.
 - name string
 - The name of the credential.
 - password
Secret stringIdentifier  - KeyVault Secret URI for accessing the password.
 - username
Secret stringIdentifier  - KeyVault Secret URI for accessing the username.
 
- credential_
health CredentialHealth Response  - This provides data pertaining to the health of the auth credential.
 - name str
 - The name of the credential.
 - password_
secret_ stridentifier  - KeyVault Secret URI for accessing the password.
 - username_
secret_ stridentifier  - KeyVault Secret URI for accessing the username.
 
- credential
Health Property Map - This provides data pertaining to the health of the auth credential.
 - name String
 - The name of the credential.
 - password
Secret StringIdentifier  - KeyVault Secret URI for accessing the password.
 - username
Secret StringIdentifier  - KeyVault Secret URI for accessing the username.
 
CredentialHealthResponse  
- Error
Code string - Error code representing the health check error.
 - Error
Message string - Descriptive message representing the health check error.
 - Status string
 - The health status of credential.
 
- Error
Code string - Error code representing the health check error.
 - Error
Message string - Descriptive message representing the health check error.
 - Status string
 - The health status of credential.
 
- error
Code String - Error code representing the health check error.
 - error
Message String - Descriptive message representing the health check error.
 - status String
 - The health status of credential.
 
- error
Code string - Error code representing the health check error.
 - error
Message 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.
 
- error
Code String - Error code representing the health check error.
 - error
Message String - Descriptive message representing the health check error.
 - status String
 - The health status of credential.
 
IdentityPropertiesResponse  
- Principal
Id string - The principal ID of resource identity.
 - Tenant
Id string - The tenant ID of resource.
 - Type string
 - The identity type.
 - User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Container Registry. Inputs. User Identity Properties Response>  - 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 string - The principal ID of resource identity.
 - Tenant
Id string - The tenant ID of resource.
 - Type string
 - The identity type.
 - User
Assigned map[string]UserIdentities Identity Properties Response  - 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 String - The principal ID of resource identity.
 - tenant
Id String - The tenant ID of resource.
 - type String
 - The identity type.
 - user
Assigned Map<String,UserIdentities Identity Properties Response>  - 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 string - The principal ID of resource identity.
 - tenant
Id string - The tenant ID of resource.
 - type string
 - The identity type.
 - user
Assigned {[key: string]: UserIdentities Identity Properties Response}  - 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_ Mapping[str, Useridentities Identity Properties Response]  - 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 String - The principal ID of resource identity.
 - tenant
Id String - The tenant ID of resource.
 - type String
 - The identity type.
 - user
Assigned Map<Property Map>Identities  - 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}'.
 
SystemDataResponse  
- Created
At string - The timestamp of resource creation (UTC).
 - Created
By string - The identity that created the resource.
 - Created
By stringType  - The type of identity that created the resource.
 - Last
Modified stringAt  - The timestamp of resource modification (UTC).
 - Last
Modified stringBy  - The identity that last modified the resource.
 - Last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- Created
At string - The timestamp of resource creation (UTC).
 - Created
By string - The identity that created the resource.
 - Created
By stringType  - The type of identity that created the resource.
 - Last
Modified stringAt  - The timestamp of resource modification (UTC).
 - Last
Modified stringBy  - The identity that last modified the resource.
 - Last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- created
At String - The timestamp of resource creation (UTC).
 - created
By String - The identity that created the resource.
 - created
By StringType  - The type of identity that created the resource.
 - last
Modified StringAt  - The timestamp of resource modification (UTC).
 - last
Modified StringBy  - The identity that last modified the resource.
 - last
Modified StringBy Type  - The type of identity that last modified the resource.
 
- created
At string - The timestamp of resource creation (UTC).
 - created
By string - The identity that created the resource.
 - created
By stringType  - The type of identity that created the resource.
 - last
Modified stringAt  - The timestamp of resource modification (UTC).
 - last
Modified stringBy  - The identity that last modified the resource.
 - last
Modified stringBy Type  - 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_ strtype  - The type of identity that created the resource.
 - last_
modified_ strat  - The timestamp of resource modification (UTC).
 - last_
modified_ strby  - The identity that last modified the resource.
 - last_
modified_ strby_ type  - The type of identity that last modified the resource.
 
- created
At String - The timestamp of resource creation (UTC).
 - created
By String - The identity that created the resource.
 - created
By StringType  - The type of identity that created the resource.
 - last
Modified StringAt  - The timestamp of resource modification (UTC).
 - last
Modified StringBy  - The identity that last modified the resource.
 - last
Modified StringBy Type  - The type of identity that last modified the resource.
 
UserIdentityPropertiesResponse   
- Client
Id string - The client id of user assigned identity.
 - Principal
Id string - The principal id of user assigned identity.
 
- Client
Id string - The client id of user assigned identity.
 - Principal
Id string - The principal id of user assigned identity.
 
- client
Id String - The client id of user assigned identity.
 - principal
Id String - The principal id of user assigned identity.
 
- client
Id string - The client id of user assigned identity.
 - principal
Id 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.
 
- client
Id String - The client id of user assigned identity.
 - principal
Id String - The principal id of user assigned identity.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0