Reputation: 1712
I have seen protected_settings
used in a few examples and I have seen them in some Terraform documentation but I have been unable to find a good explanation as to what they are used for.
Upvotes: 1
Views: 2403
Reputation: 8343
I am not sure if they have additional usage, but for in the azurerm_virtual_machine_extension context they map straight to an Azure Resource Manager concept described in this post.
Quoting
Settings vs. ProtectedSettings
All of these settings will be saved in a settings text file on your VM.
Properties under ‘settings’ are considered public properties because they will not be encrypted in the settings text file.
Properties under ‘protectedSettings’ will be encrypted with a certificate and will not be shown in plain text in this file on your VM.
Upvotes: 4