Last active
January 29, 2020 16:15
-
-
Save adamdriscoll/76d80c2365bea7b68481bf49963e9256 to your computer and use it in GitHub Desktop.
Creates a new secret manager in Universal Automation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New-UASecretManager -Name 'PSSecretStore' -Get { | |
param($Name) | |
Get-SSSecret -Name $Name -KeyPath C:\keyfile.bin -StorePath C:\store.bin | |
} -Set { | |
param($Name, $Value) | |
Set-SSSecret -Name $Name -Value $Value -KeyPath C:\keyfile.bin -StorePath C:\store.bin | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment