Data Source: azurermFunctionAppHostKeys
Use this data source to fetch the Host Keys of an existing Function App
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
new azurerm.dataAzurermFunctionAppHostKeys.DataAzurermFunctionAppHostKeys(
this,
"example",
{
name: "example-function",
resource_group_name: "${azurerm_resource_group.example.name}",
}
);
\~> Note: All arguments including the secret value will be stored in the raw state as plain-text, including defaultFunctionKey
and primaryKey
. Read more about sensitive data in state.
Argument Reference
The following arguments are supported:
-
name
- The name of the Function App. -
resourceGroupName
- The name of the Resource Group where the Function App exists.
Attributes Reference
The following arguments are supported:
-
defaultFunctionKey
- Function App resource's default function key. -
primaryKey
- Function App resource's secret key -
eventGridExtensionConfigKey
- Function App resource's Event Grid Extension Config system key. -
signalrExtensionKey
- Function App resource's SignalR Extension system key. -
durabletaskExtensionKey
- Function App resource's Durable Task Extension system key. -
webpubsubExtensionKey
- Function App resource's Web PubSub Extension system key. -
blobsExtensionKey
- Function App resource's Blobs Extension system key.