Skip to main content

vw_product_secrets

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

Overview

Namevw_product_secrets
TypeView
Idazure_stack.deployment_admin.vw_product_secrets

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

SELECT
id as id,
name as name,
location as location,
type as type,
JSON_EXTRACT(properties, '$.secretState') as "secret_state",
JSON_EXTRACT(properties, '$.secretDescriptor') as "secret_descriptor",
JSON_EXTRACT(properties, '$.expiresAfter') as "expires_after",
JSON_EXTRACT(properties, '$.description') as "description",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.secretKind') as "secret_kind",
subscriptionId,
packageId,
secretName
FROM azure_stack.deployment_admin.product_secrets
WHERE subscriptionId = 'replace-me' AND packageId = 'replace-me';