1. Packages
  2. Packages
  3. Azure Native
  4. API Docs
  5. containerservice
  6. listManagedClusterUserCredentials
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v1.103.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v1.103.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Gets cluster user credential of the managed cluster with a specified resource group and name. API Version: 2021-03-01.

    Using listManagedClusterUserCredentials

    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 listManagedClusterUserCredentials(args: ListManagedClusterUserCredentialsArgs, opts?: InvokeOptions): Promise<ListManagedClusterUserCredentialsResult>
    function listManagedClusterUserCredentialsOutput(args: ListManagedClusterUserCredentialsOutputArgs, opts?: InvokeOptions): Output<ListManagedClusterUserCredentialsResult>
    def list_managed_cluster_user_credentials(resource_group_name: Optional[str] = None,
                                              resource_name: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> ListManagedClusterUserCredentialsResult
    def list_managed_cluster_user_credentials_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                              resource_name: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[ListManagedClusterUserCredentialsResult]
    func ListManagedClusterUserCredentials(ctx *Context, args *ListManagedClusterUserCredentialsArgs, opts ...InvokeOption) (*ListManagedClusterUserCredentialsResult, error)
    func ListManagedClusterUserCredentialsOutput(ctx *Context, args *ListManagedClusterUserCredentialsOutputArgs, opts ...InvokeOption) ListManagedClusterUserCredentialsResultOutput

    > Note: This function is named ListManagedClusterUserCredentials in the Go SDK.

    public static class ListManagedClusterUserCredentials 
    {
        public static Task<ListManagedClusterUserCredentialsResult> InvokeAsync(ListManagedClusterUserCredentialsArgs args, InvokeOptions? opts = null)
        public static Output<ListManagedClusterUserCredentialsResult> Invoke(ListManagedClusterUserCredentialsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListManagedClusterUserCredentialsResult> listManagedClusterUserCredentials(ListManagedClusterUserCredentialsArgs args, InvokeOptions options)
    public static Output<ListManagedClusterUserCredentialsResult> listManagedClusterUserCredentials(ListManagedClusterUserCredentialsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:containerservice:listManagedClusterUserCredentials
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group.
    ResourceName string
    The name of the managed cluster resource.
    ResourceGroupName string
    The name of the resource group.
    ResourceName string
    The name of the managed cluster resource.
    resourceGroupName String
    The name of the resource group.
    resourceName String
    The name of the managed cluster resource.
    resourceGroupName string
    The name of the resource group.
    resourceName string
    The name of the managed cluster resource.
    resource_group_name str
    The name of the resource group.
    resource_name str
    The name of the managed cluster resource.
    resourceGroupName String
    The name of the resource group.
    resourceName String
    The name of the managed cluster resource.

    listManagedClusterUserCredentials Result

    The following output properties are available:

    Kubeconfigs []CredentialResultResponse
    Base64-encoded Kubernetes configuration file.
    kubeconfigs List<CredentialResultResponse>
    Base64-encoded Kubernetes configuration file.
    kubeconfigs CredentialResultResponse[]
    Base64-encoded Kubernetes configuration file.
    kubeconfigs Sequence[CredentialResultResponse]
    Base64-encoded Kubernetes configuration file.
    kubeconfigs List<Property Map>
    Base64-encoded Kubernetes configuration file.

    Supporting Types

    CredentialResultResponse

    Name string
    The name of the credential.
    Value string
    Base64-encoded Kubernetes configuration file.
    Name string
    The name of the credential.
    Value string
    Base64-encoded Kubernetes configuration file.
    name String
    The name of the credential.
    value String
    Base64-encoded Kubernetes configuration file.
    name string
    The name of the credential.
    value string
    Base64-encoded Kubernetes configuration file.
    name str
    The name of the credential.
    value str
    Base64-encoded Kubernetes configuration file.
    name String
    The name of the credential.
    value String
    Base64-encoded Kubernetes configuration file.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v1.103.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.