-
Notifications
You must be signed in to change notification settings - Fork 387
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
[AVM Module Issue]: Key Vault Secret Reference for Domain Join Extension #4110
Comments
@Rembrandtastic, thanks for submitting this issue for the Important A member of the @Azure/avm-res-compute-virtualmachine-module-owners-bicep or @Azure/avm-res-compute-virtualmachine-module-contributors-bicep team will review it soon! |
Hey @Rembrandtastic, bicep-registry-modules/avm/res/compute/virtual-machine/main.bicep Lines 149 to 155 in 6221280
being used here: bicep-registry-modules/avm/res/compute/virtual-machine/main.bicep Lines 713 to 734 in 6221280
|
I think part of the challenge is that there is no User-defined type for the extension - and to make matters worse also not example in the max tests as there is no domain we could 'test join' the deployed VM to. At least a UDT 'should' be possible. |
@Rembrandtastic thanks, will look into it |
Okay yeah I am a little new to AVM and did not think to go look at the actual module code to see the parameters. You are right though, UDT, or just an example usage in the documentation would probably help avoid this issue for AVM new comers like me. Thanks! |
Hey @Rembrandtastic, |
Check for previous/existing GitHub issues
Issue Type?
Security Bug
Module Name
avm/res/compute/virtual-machine
(Optional) Module Version
No response
Description
Currently when trying to pass key vault secret references for the domain join extension into the Virtual Machine module I am given the error that this parameter is not using a secure decorator which is required for the getSecret function. This means I cannot use the domain join extension as my sensitive domain account needs to be referenced from a key vault.
(Optional) Correlation Id
No response
The text was updated successfully, but these errors were encountered: