-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Hi Team,
Great work on this module and the SecretManagement module.
I'm likely missing something obvious, but I wanted to clarify the usage around Unlock-SecretStore and automation scenarios where user interaction isn't available/possible.
From the blog post:
The user can provide the password through an interactive prompt or with the Unlock-SecretStore cmdlet. The Unlock-SecretStore is intended for automation scenarios where user interaction is not possible.
Given the password needs to be provided to Unlock-SecretStore in every fresh session of PowerShell (assuming the PasswordRequired is set to True), what are the suggested methods in being able to provide this password securely in automation scenarios? Would we typically fall back to using commands in the Microsoft.PowerShell.security module to get and securely store the password to be passed to Unlock-SecretStore at execution time? Or depending on where it is being used (maybe in deployment pipelines), a secure variable for the store password?
Cheers, Matt.