Summary of the new feature / enhancement
Hi I like to have resources output to pass as references or variables that can be used in other resources, with references I like to have built in depends on
Proposed technical implementation details (optional)
Example of secret store in Secet Store
# Test configuration for Microsoft.PowerShell/WindowsSecretStore
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
parameters:
SecretPassword:
type: secureString
defaultValue: TestSecretValue
resources:
- name: Configure SecretStore for unattended automation
type: Microsoft.PowerShell/WindowsSecretStore
properties:
authentication: Password
passwordTimeout: -1
interaction: None
scope: CurrentUser # AllUsers is not supported now for this module, but will be supported in the future
password: "[parameters('SecretPassword')]"
- name: Configure SecretStore Password
type: Microsoft.PowerShell/WindowsSecretStore
properties:
Name:
Secret: # Byte[], String, SecureString, PSCredential, Hashtable
Name: SecretPassword
SercetType: SecureString
SecretValue: TestSecretValue
output: Configure SecretStore Password
- name: Active Directory Forest
type: ActiveDirectoryDsc/ADDomain
properties:
DomainName: contoso.com
SafemodeAdministratorPassword: "output:(Configure SecretStore Password).SecretPassword"
ForestMode: WinThreshold
Summary of the new feature / enhancement
Hi I like to have resources output to pass as references or variables that can be used in other resources, with references I like to have built in depends on
Proposed technical implementation details (optional)
Example of secret store in Secet Store