Hey Guys, <https://atmos.tools/tutorials/azure-aut...
# atmos
h
Hey Guys, https://atmos.tools/tutorials/azure-authentication/ Can you update the docs for this. I was going over simple device-code based authentication and according docs these
tenant_id
,
subscription_id
and
location
comes under providers block alongside the `kind`:
Copy code
auth:
  providers:
    azure-dev:
      kind: azure/device-code
      tenant_id: "xyz"
      subscription_id: "abc"
      location: "eastus"
whereas in version of atmos I am using
1.202.1
, its says it needs to be under
spec
Copy code
auth:
  providers:
    azure-dev:
      kind: azure/device-code
      spec:
        tenant_id: "xyz"
        subscription_id: "abc"
        location: "eastus"
e
@PePe Amengual need your help on this one
I believe spec would be consistent with the rest of the providers
p
mmm interesting
@Hassan Khan which one worked for you?
h
spec worked for me. If I removed spec it always give me error that
tenant_id
should be in spec.
👍 1
e
Ok, well correct the docs. Thanks for reporting!
cc @Andriy Knysh (Cloud Posse) ☝️