https://pulumi.com logo
#general
Title
# general
s

salmon-beard-79336

09/16/2019, 4:03 PM
How to enable
Managed Identities
for Azure API Management services? Required in order to enable custom
hostnameConfiguration
Copy code
const service = new azure.apimanagement.Service(`${prefix}-service`, {
  resourceGroupName: resourceGroup.name,
  sku: {
    name: 'Developer',
    capacity: 1
  },
  publisherName: 'Bob',
  publisherEmail: 'alex.b@d.c',
  hostnameConfiguration: {
    proxies: [{
      hostName: domainName,
      // certificate: '',
      // certificatePassword: '',
      keyVaultId: pulumi.interpolate`${keyVault.vaultUri}certificates/generated-cert/90951e125ada483c8a1e76440fa484c7`,

      negotiateClientCertificate: false,
      defaultSslBinding: true
    }]
  }
})
@tall-librarian-49374 @broad-dog-22463 @stocky-spoon-28903 do you guys have any tips for that? many wows and gracias in advance
t

tall-librarian-49374

09/16/2019, 4:19 PM
Have you tried
Copy code
identity: {
        type: "SystemAssigned",
    },
?
s

salmon-beard-79336

09/16/2019, 5:03 PM
that did the trick, thanks Mikhail