1. Packages
  2. Azure Native
  3. API Docs
  4. web
  5. listWebAppFunctionSecrets
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.web.listWebAppFunctionSecrets

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Description for Get function secrets for a function in a web site, or a deployment slot.

Uses Azure REST API version 2024-04-01.

Other available API versions: 2016-08-01, 2018-02-01, 2018-11-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. 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 listWebAppFunctionSecrets

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 listWebAppFunctionSecrets(args: ListWebAppFunctionSecretsArgs, opts?: InvokeOptions): Promise<ListWebAppFunctionSecretsResult>
function listWebAppFunctionSecretsOutput(args: ListWebAppFunctionSecretsOutputArgs, opts?: InvokeOptions): Output<ListWebAppFunctionSecretsResult>
Copy
def list_web_app_function_secrets(function_name: Optional[str] = None,
                                  name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> ListWebAppFunctionSecretsResult
def list_web_app_function_secrets_output(function_name: Optional[pulumi.Input[str]] = None,
                                  name: Optional[pulumi.Input[str]] = None,
                                  resource_group_name: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[ListWebAppFunctionSecretsResult]
Copy
func ListWebAppFunctionSecrets(ctx *Context, args *ListWebAppFunctionSecretsArgs, opts ...InvokeOption) (*ListWebAppFunctionSecretsResult, error)
func ListWebAppFunctionSecretsOutput(ctx *Context, args *ListWebAppFunctionSecretsOutputArgs, opts ...InvokeOption) ListWebAppFunctionSecretsResultOutput
Copy

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

public static class ListWebAppFunctionSecrets 
{
    public static Task<ListWebAppFunctionSecretsResult> InvokeAsync(ListWebAppFunctionSecretsArgs args, InvokeOptions? opts = null)
    public static Output<ListWebAppFunctionSecretsResult> Invoke(ListWebAppFunctionSecretsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListWebAppFunctionSecretsResult> listWebAppFunctionSecrets(ListWebAppFunctionSecretsArgs args, InvokeOptions options)
public static Output<ListWebAppFunctionSecretsResult> listWebAppFunctionSecrets(ListWebAppFunctionSecretsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:web:listWebAppFunctionSecrets
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

FunctionName
This property is required.
Changes to this property will trigger replacement.
string
Function name.
Name
This property is required.
Changes to this property will trigger replacement.
string
Site name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
FunctionName
This property is required.
Changes to this property will trigger replacement.
string
Function name.
Name
This property is required.
Changes to this property will trigger replacement.
string
Site name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
functionName
This property is required.
Changes to this property will trigger replacement.
String
Function name.
name
This property is required.
Changes to this property will trigger replacement.
String
Site name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group to which the resource belongs.
functionName
This property is required.
Changes to this property will trigger replacement.
string
Function name.
name
This property is required.
Changes to this property will trigger replacement.
string
Site name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
function_name
This property is required.
Changes to this property will trigger replacement.
str
Function name.
name
This property is required.
Changes to this property will trigger replacement.
str
Site name.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the resource group to which the resource belongs.
functionName
This property is required.
Changes to this property will trigger replacement.
String
Function name.
name
This property is required.
Changes to this property will trigger replacement.
String
Site name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group to which the resource belongs.

listWebAppFunctionSecrets Result

The following output properties are available:

Key string
Secret key.
TriggerUrl string
Trigger URL.
Key string
Secret key.
TriggerUrl string
Trigger URL.
key String
Secret key.
triggerUrl String
Trigger URL.
key string
Secret key.
triggerUrl string
Trigger URL.
key str
Secret key.
trigger_url str
Trigger URL.
key String
Secret key.
triggerUrl String
Trigger URL.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi