Skip to main content

host_secrets

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

Overview

Namehost_secrets
TypeResource
Idazure.app_service.host_secrets

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
create_or_updateINSERTkeyName, keyType, name, resourceGroupName, subscriptionIdDescription for Add or update a host level secret.
deleteDELETEkeyName, keyType, name, resourceGroupName, subscriptionIdDescription for Delete a host level secret.

INSERT example

Use the following StackQL query and manifest file to create a new host_secrets resource.

/*+ create */
INSERT INTO azure.app_service.host_secrets (
keyName,
keyType,
name,
resourceGroupName,
subscriptionId,
name,
value
)
SELECT
'{{ keyName }}',
'{{ keyType }}',
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ name }}',
'{{ value }}'
;

DELETE example

Deletes the specified host_secrets resource.

/*+ delete */
DELETE FROM azure.app_service.host_secrets
WHERE keyName = '{{ keyName }}'
AND keyType = '{{ keyType }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';