Skip to main content

product_secrets

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

Overview

Nameproduct_secrets
TypeResource
Idazure_stack.deployment_admin.product_secrets

Fields

NameDatatypeDescription
idtextID of the resource.
nametextName of the resource.
descriptiontextfield from the properties object
expires_aftertextfield from the properties object
locationtextLocation of the resource.
packageIdtextfield from the properties object
provisioning_statetextfield from the properties object
secretNametextfield from the properties object
secret_descriptortextfield from the properties object
secret_kindtextfield from the properties object
secret_statetextfield from the properties object
subscriptionIdtextfield from the properties object
typetextType of Resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTpackageId, secretName, subscriptionIdReturns the specific product secret.
listSELECTpackageId, subscriptionIdReturns an array of product secrets.
setEXECpackageId, secretName, subscriptionIdImports a product secret.
validateEXECpackageId, secretName, subscriptionIdValidates a product secret.

SELECT examples

Returns an array of product secrets.

SELECT
id,
name,
description,
expires_after,
location,
packageId,
provisioning_state,
secretName,
secret_descriptor,
secret_kind,
secret_state,
subscriptionId,
type
FROM azure_stack.deployment_admin.vw_product_secrets
WHERE packageId = '{{ packageId }}'
AND subscriptionId = '{{ subscriptionId }}';