1. Registry
  2. Packages
  3. Azure Native
  4. API Docs
  5. web
  6. listWebAppHostKeys
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.26.0
published on Thursday, Aug 13, 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.26.0
published on Thursday, Aug 13, 2026 by Pulumi

    Description for Get host secrets for a function app.

    Uses Azure REST API version 2025-05-01.

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

    Using listWebAppHostKeys

    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 listWebAppHostKeys(args: ListWebAppHostKeysArgs, opts?: InvokeOptions): Promise<ListWebAppHostKeysResult>
    function listWebAppHostKeysOutput(args: ListWebAppHostKeysOutputArgs, opts?: InvokeOutputOptions): Output<ListWebAppHostKeysResult>
    def list_web_app_host_keys(name: Optional[str] = None,
                               resource_group_name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> ListWebAppHostKeysResult
    def list_web_app_host_keys_output(name: pulumi.Input[Optional[str]] = None,
                               resource_group_name: pulumi.Input[Optional[str]] = None,
                               opts: Optional[InvokeOutputOptions] = None) -> Output[ListWebAppHostKeysResult]
    func ListWebAppHostKeys(ctx *Context, args *ListWebAppHostKeysArgs, opts ...InvokeOption) (*ListWebAppHostKeysResult, error)
    func ListWebAppHostKeysOutput(ctx *Context, args *ListWebAppHostKeysOutputArgs, opts ...InvokeOption) ListWebAppHostKeysResultOutput

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

    public static class ListWebAppHostKeys 
    {
        public static Task<ListWebAppHostKeysResult> InvokeAsync(ListWebAppHostKeysArgs args, InvokeOptions? opts = null)
        public static Output<ListWebAppHostKeysResult> Invoke(ListWebAppHostKeysInvokeArgs args, InvokeOptions? opts = null)
        public static Output<ListWebAppHostKeysResult> Invoke(ListWebAppHostKeysInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<ListWebAppHostKeysResult> listWebAppHostKeys(ListWebAppHostKeysArgs args, InvokeOptions options)
    public static Output<ListWebAppHostKeysResult> listWebAppHostKeys(ListWebAppHostKeysArgs args, InvokeOptions options)
    public static Output<ListWebAppHostKeysResult> listWebAppHostKeys(ListWebAppHostKeysArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: azure-native:web:listWebAppHostKeys
      arguments:
        # arguments dictionary
    data "azure-native_web_list_web_app_host_keys" "name" {
        # arguments
    }

    The following arguments are supported:

    Name string
    Name of the app.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Name string
    Name of the app.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    name string
    Name of the app.
    resource_group_name string
    The name of the resource group. The name is case insensitive.
    name String
    Name of the app.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    name string
    Name of the app.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    name str
    Name of the app.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    name String
    Name of the app.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    listWebAppHostKeys Result

    The following output properties are available:

    FunctionKeys Dictionary<string, string>
    Host level function keys.
    MasterKey string
    Secret key.
    SystemKeys Dictionary<string, string>
    System keys.
    FunctionKeys map[string]string
    Host level function keys.
    MasterKey string
    Secret key.
    SystemKeys map[string]string
    System keys.
    function_keys map(string)
    Host level function keys.
    master_key string
    Secret key.
    system_keys map(string)
    System keys.
    functionKeys Map<String,String>
    Host level function keys.
    masterKey String
    Secret key.
    systemKeys Map<String,String>
    System keys.
    functionKeys {[key: string]: string}
    Host level function keys.
    masterKey string
    Secret key.
    systemKeys {[key: string]: string}
    System keys.
    function_keys Mapping[str, str]
    Host level function keys.
    master_key str
    Secret key.
    system_keys Mapping[str, str]
    System keys.
    functionKeys Map<String>
    Host level function keys.
    masterKey String
    Secret key.
    systemKeys Map<String>
    System keys.

    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.26.0
    published on Thursday, Aug 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial