fancy-artist-45287
03/28/2023, 12:01 PMmelodic-tomato-39005
03/28/2023, 2:10 PMdevices.getIotHubResource
returns a result with eventHubEndpoints. However, for putting the endpoint in a vault you might need to use the Azure Key Vault directly, since Pulumi is meant to manage resources, not objects in the data plane.fancy-artist-45287
03/28/2023, 2:55 PMmelodic-tomato-39005
03/28/2023, 3:32 PMfancy-artist-45287
03/28/2023, 3:36 PMnew azure.keyvault.Secret(name, {
name,
value,
keyVaultId: this.resource.id,
});
melodic-tomato-39005
03/28/2023, 7:17 PM