1. Packages
  2. Azure Native
  3. API Docs
  4. machinelearningservices
  5. listWorkspaceKeys
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 v3.16.0
published on Friday, Mar 20, 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 v3.16.0
published on Friday, Mar 20, 2026 by Pulumi

    Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry.

    Uses Azure REST API version 2025-12-01.

    Other available API versions: 2020-05-01-preview, 2020-05-15-preview, 2020-06-01, 2020-08-01, 2020-09-01-preview, 2021-01-01, 2021-03-01-preview, 2021-04-01, 2021-07-01, 2022-01-01-preview, 2022-02-01-preview, 2022-05-01, 2022-06-01-preview, 2022-10-01, 2022-10-01-preview, 2022-12-01-preview, 2023-02-01-preview, 2023-04-01, 2023-04-01-preview, 2023-06-01-preview, 2023-08-01-preview, 2023-10-01, 2024-01-01-preview, 2024-04-01, 2024-07-01-preview, 2024-10-01, 2024-10-01-preview, 2025-01-01-preview, 2025-04-01, 2025-04-01-preview, 2025-06-01, 2025-07-01-preview, 2025-09-01, 2025-10-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native machinelearningservices [ApiVersion]. See the version guide for details.

    Using listWorkspaceKeys

    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 listWorkspaceKeys(args: ListWorkspaceKeysArgs, opts?: InvokeOptions): Promise<ListWorkspaceKeysResult>
    function listWorkspaceKeysOutput(args: ListWorkspaceKeysOutputArgs, opts?: InvokeOptions): Output<ListWorkspaceKeysResult>
    def list_workspace_keys(resource_group_name: Optional[str] = None,
                            workspace_name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> ListWorkspaceKeysResult
    def list_workspace_keys_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                            workspace_name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[ListWorkspaceKeysResult]
    func ListWorkspaceKeys(ctx *Context, args *ListWorkspaceKeysArgs, opts ...InvokeOption) (*ListWorkspaceKeysResult, error)
    func ListWorkspaceKeysOutput(ctx *Context, args *ListWorkspaceKeysOutputArgs, opts ...InvokeOption) ListWorkspaceKeysResultOutput

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

    public static class ListWorkspaceKeys 
    {
        public static Task<ListWorkspaceKeysResult> InvokeAsync(ListWorkspaceKeysArgs args, InvokeOptions? opts = null)
        public static Output<ListWorkspaceKeysResult> Invoke(ListWorkspaceKeysInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListWorkspaceKeysResult> listWorkspaceKeys(ListWorkspaceKeysArgs args, InvokeOptions options)
    public static Output<ListWorkspaceKeysResult> listWorkspaceKeys(ListWorkspaceKeysArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:machinelearningservices:listWorkspaceKeys
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    WorkspaceName string
    Azure Machine Learning Workspace Name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    WorkspaceName string
    Azure Machine Learning Workspace Name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    workspaceName String
    Azure Machine Learning Workspace Name
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    workspaceName string
    Azure Machine Learning Workspace Name
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    workspace_name str
    Azure Machine Learning Workspace Name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    workspaceName String
    Azure Machine Learning Workspace Name

    listWorkspaceKeys Result

    The following output properties are available:

    AppInsightsInstrumentationKey string
    The access key of the workspace app insights
    UserStorageArmId string
    The arm Id key of the workspace storage
    UserStorageKey string
    The access key of the workspace storage
    ContainerRegistryCredentials RegistryListCredentialsResultResponse
    NotebookAccessKeys ListNotebookKeysResultResponse
    appInsightsInstrumentationKey String
    The access key of the workspace app insights
    userStorageArmId String
    The arm Id key of the workspace storage
    userStorageKey String
    The access key of the workspace storage
    containerRegistryCredentials RegistryListCredentialsResultResponse
    notebookAccessKeys ListNotebookKeysResultResponse
    appInsightsInstrumentationKey string
    The access key of the workspace app insights
    userStorageArmId string
    The arm Id key of the workspace storage
    userStorageKey string
    The access key of the workspace storage
    containerRegistryCredentials RegistryListCredentialsResultResponse
    notebookAccessKeys ListNotebookKeysResultResponse
    app_insights_instrumentation_key str
    The access key of the workspace app insights
    user_storage_arm_id str
    The arm Id key of the workspace storage
    user_storage_key str
    The access key of the workspace storage
    container_registry_credentials RegistryListCredentialsResultResponse
    notebook_access_keys ListNotebookKeysResultResponse
    appInsightsInstrumentationKey String
    The access key of the workspace app insights
    userStorageArmId String
    The arm Id key of the workspace storage
    userStorageKey String
    The access key of the workspace storage
    containerRegistryCredentials Property Map
    notebookAccessKeys Property Map

    Supporting Types

    ListNotebookKeysResultResponse

    PrimaryAccessKey string
    The primary access key of the Notebook
    SecondaryAccessKey string
    The secondary access key of the Notebook
    PrimaryAccessKey string
    The primary access key of the Notebook
    SecondaryAccessKey string
    The secondary access key of the Notebook
    primaryAccessKey String
    The primary access key of the Notebook
    secondaryAccessKey String
    The secondary access key of the Notebook
    primaryAccessKey string
    The primary access key of the Notebook
    secondaryAccessKey string
    The secondary access key of the Notebook
    primary_access_key str
    The primary access key of the Notebook
    secondary_access_key str
    The secondary access key of the Notebook
    primaryAccessKey String
    The primary access key of the Notebook
    secondaryAccessKey String
    The secondary access key of the Notebook

    PasswordResponse

    Name string
    Value string
    Name string
    Value string
    name String
    value String
    name string
    value string
    name str
    value str
    name String
    value String

    RegistryListCredentialsResultResponse

    Location string
    The location of the workspace ACR
    Username string
    The username of the workspace ACR
    Passwords List<Pulumi.AzureNative.MachineLearningServices.Inputs.PasswordResponse>
    Location string
    The location of the workspace ACR
    Username string
    The username of the workspace ACR
    Passwords []PasswordResponse
    location String
    The location of the workspace ACR
    username String
    The username of the workspace ACR
    passwords List<PasswordResponse>
    location string
    The location of the workspace ACR
    username string
    The username of the workspace ACR
    passwords PasswordResponse[]
    location str
    The location of the workspace ACR
    username str
    The username of the workspace ACR
    passwords Sequence[PasswordResponse]
    location String
    The location of the workspace ACR
    username String
    The username of the workspace ACR
    passwords List<Property Map>

    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 v3.16.0
    published on Friday, Mar 20, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.