Ironman Software Forums
Retrieving Secrets by name when the name is a variable
PowerShell Universal
Dynamic
March 19, 2026, 10:08am
2
You could do it with subexpressions and the secret provider.
Here is an older post that may help:
show post in topic
Related topics
Topic
Replies
Views
Activity
Get-Variable with Secret variables in PSU 3
PowerShell Universal
4
828
March 17, 2023
Get-PSUVariable to get Secret
PowerShell Universal
2
208
April 2, 2024
Secrets with "-" in the name
PowerShell Universal
2
128
July 17, 2024
Clarification needed on variable references within scripts
PowerShell Universal
5
155
April 3, 2024
Secret Variables blank
2
287
February 21, 2023