Skip to main content

host_secret_slots

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

Overview

Namehost_secret_slots
TypeResource
Idazure.app_service.host_secret_slots

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, slot, subscriptionIdDescription for Add or update a host level secret.
deleteDELETEkeyName, keyType, name, resourceGroupName, slot, subscriptionIdDescription for Delete a host level secret.

INSERT example

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

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

DELETE example

Deletes the specified host_secret_slots resource.

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