-
Benachrichtigungen
You must be signed in to change notification settings - Fork 21.4k
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
Could you clarify in this document if using @Secure in bicep template means you cannot use a bicepparam file? #121108
Kommentare
@electronicpost |
@electronicpost @msmbaldwin |
@alex-frankel - Do you have any suggestions for this situation? |
@stephaniezyen - can you take a look? @electronicpost can you also share some more details about the bicep code you are looking to write? It is possible to provide a keyvault reference for an |
Do you have a simple example? I'm assuming there is a method so the secure param is not in plain text somewhere. I've not yet used bicepparam (over JSON), just when I initially tested (as mentioned) it would not validate the deployment whilst a parameter was missing from it. As mentioned with json you get promoted to type in the missing, then if it is secure it also hides the input (like a password entry). |
So this is an extract from a deployment for the key vault, secrets and private endpoint...
I leave the 4 secrets out of the JSON parameters file, this then allows them to be prompted when the deployment is submitted. Hope this helps. Mick |
This document doesn't reference about parameter files, specifically bicepparam. JSON parameter files do not care if parameters are missing and will just prompt for them at deployment. However a bicepparam file compliains if a parameter is missing, there doesn't seem to be a way to handle deploying a keyvault and inputting secrets as part of the deployment.
Once they are in the keyvault I can see if there is a function to reference them for other deployment uses, but I am specifically referring to when you create a keyvault and also create some secrets within it.
Thanks
Mick
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: