-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for passing keyvault secrets through TemplateParameterObject #2336
Comments
+1 |
+1 but also would prefer powershell command line parameters, not just TemplateParameterObject |
+1 |
+1 - I've just lost the best part of a day trying to work out how to do this, only to find this issue and surmise that it can't currently be done. It'd be nice if it were at least mentioned in the documentation that KeyVault references can only be done via a Parameter File |
+1 |
Closing in favor of #3318 which is assigned to the correct team. |
It looks like when template parameters are assembled for trasmission only a template parameter file supports keyvault references. This means dynamic parameters and -TemplateParameterObject does not support keyvault references.
I would like support for referencing a keyvault secret through other means. Ideally it would probably not be through a special dynamic parameter or -TemplateParameterObject. I think ideally I could just put something in the template like
[reference('Microsoft.KeyVault/vaults/{vault-name}/secrets/{secret-name}', '2015-06-01').value]
to get the secret, allowing a vault/secret name to be passed as a normal parameter. Or perhaps this is already somehow possible, but it isn't well documented? Thanks!The text was updated successfully, but these errors were encountered: