Skip to main content

dapr_components_secrets

Creates, updates, deletes, gets or lists a dapr_components_secrets resource.

Overview

Namedapr_components_secrets
TypeResource
Idazure.container_apps.dapr_components_secrets

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringSecret Name.
valuestringSecret Value.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, environmentName, componentName

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
componentNamestringName of the Dapr Component.
environmentNamestringName of the Managed Environment.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

OK

SELECT
name,
value
FROM azure.container_apps.dapr_components_secrets
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND environmentName = '{{ environmentName }}' -- required
AND componentName = '{{ componentName }}' -- required
;