Comment 1 for bug 1690920

Revision history for this message
Jay R. Wren (evarlast) wrote :

Related:

Once auth-type: service-principal-secret is used, the following credential is accepted:

credentials:
  azure:
    juju-azure-shell:
      auth-type: service-principal-secret
      application-id: c8432b3a-0e92-467f-bd9a-cf1e7f9f10ba
      application-password: REDACTED
      subscription-id: 84d9e50c-9349-4013-8cd6-c2fcd3ea4ae7
      tenant-id: 6451a011-aef1-463f-9cb2-719bee0ed72a

But fails on bootstrap with:

$ juju bootstrap azure/centralus
ERROR finalizing "juju-azure-shell" credential for cloud "azure": unknown key "tenant-id" (value "6451a011-aef1-463f-9cb2-719bee0ed72a")

The use of tenant-id in the example help output is wrong.