vw_product_secrets
Creates, updates, deletes, gets or lists a vw_product_secrets
resource.
Overview
Name | vw_product_secrets |
Type | View |
Id | azure_stack.deployment_admin.vw_product_secrets |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
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';
SELECT
id as id,
name as name,
location as location,
type as type,
json_extract_path_text(properties, '$.secretState') as "secret_state",
json_extract_path_text(properties, '$.secretDescriptor') as "secret_descriptor",
json_extract_path_text(properties, '$.expiresAfter') as "expires_after",
json_extract_path_text(properties, '$.description') as "description",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.secretKind') as "secret_kind",
subscriptionId,
packageId,
secretName
FROM azure_stack.deployment_admin.product_secrets
WHERE subscriptionId = 'replace-me' AND packageId = 'replace-me';