Skip to content
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

[Virtual Machine Extension] schema for protectedSettingsFromKeyVault is not clear #19440

Closed
myc2h6o opened this issue Jun 14, 2022 · 8 comments
Closed
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Compute - Extensions Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@myc2h6o
Copy link

myc2h6o commented Jun 14, 2022

Hi, I'm onboarding protectedSettingsFromKeyVault in Terraform, but the schema seems not quite clear to me. In the Swagger, it is a plain object without any specific properties inside it. But from the example, it seems like it's only accepting a key vault id and the secret url. Is below the only acceptable properties for protectedSettingsFromKeyVault or it can accept other properties as wel?

"protectedSettingsFromKeyVault": {
"type": "object",
"description": "The extensions protected settings that are passed by reference, and consumed from key vault"
}

"protectedSettingsFromKeyVault": {
"sourceVault": {
"id": "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName"
},
"secretUrl": "https://kvName.vault.azure.net/secrets/secretName/79b88b3a6f5440ffb2e73e44a0db712e"

@JackTn JackTn added Compute - Extensions Service Attention Workflow: This issue is responsible by Azure service team. labels Jun 27, 2022
@Drewm3
Copy link
Member

Drewm3 commented Jun 28, 2022

It does look like this is a bug in the swagger, at least on first inspection. @sandeepraichura, could you look into this with the VM Extensions dev team to confirm that this is actually a swagger bug, and work to get the bug fixed in an upcoming swagger update.

@Drewm3 Drewm3 assigned MsGabsta and unassigned sandeepraichura Jun 28, 2022
@Drewm3
Copy link
Member

Drewm3 commented Jun 28, 2022

Correcting this to actually @MsGabsta who is the right owner. (Sorry Gabby)

@MsGabsta
Copy link

@Drewm3, I will look into this with the VM Extensions Dev Team.

@MsGabsta
Copy link

@myc2h6o thank you for opening this issue, it is indeed a bug. We are working on fixing this, no eta currently.

@Drewm3 Drewm3 added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Aug 18, 2022
@myc2h6o
Copy link
Author

myc2h6o commented Sep 30, 2022

I noticed this is fixed in 2022-08-01

"protectedSettingsFromKeyVault": {
"$ref": "./computeRPCommon.json#/definitions/KeyVaultSecretReference",
"description": "The extensions protected settings that are passed by reference, and consumed from key vault"
}

@MsGabsta
Copy link

I can confirm that this issue has been resolved.

@MsGabsta
Copy link

#reassign @MsGabsta

@myc2h6o
Copy link
Author

myc2h6o commented Oct 20, 2022

Thanks for the update! Please feel free to close the issue.

@MsGabsta MsGabsta closed this as completed Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Compute - Extensions Service Attention Workflow: This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

5 participants