az status
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
`az status` will tell you who you are logged in as if you are logged in.
I imagine the ability to get the same info after you use `az login`
```
~ > az login
Note, we have launched a browser for you to login. For old experience with device code, use "az login --use-device-code"
You have logged in. Now let us find all subscriptions you have access to...
[
{
"cloudName": "AzureCloud",
"id": "1e0b427a-fake-494e-numbers-ee558463ebbf",
"isDefault": true,
"name": "Engineering",
"state": "Enabled",
"tenantId": "THIS_IS_FAKE-afe1-4696-NOPE-f97a7ac416d7",
"user": {
"name": "jasghar@chef.io",
"type": "user"
}
},
{
"cloudName": "AzureCloud",
"id": "b02e675a-FAKE-49bd-IDSARECOOL-daa7ed05bf4e",
"isDefault": false,
"name": "Solutions",
"state": "Enabled",
"tenantId": "NEVEREVER-afe1-4696-PUTTHISOUT-f97a7ac416d7",
"user": {
"name": "jasghar@chef.io",
"type": "user"
}
}
]
```
For instance:
```
~ > az status
You are logged in and authenticated. Now let us find all subscriptions you have access to...
[
{
"cloudName": "AzureCloud",
"id": "1e0b427a-fake-494e-numbers-ee558463ebbf",
"isDefault": true,
"name": "Engineering",
"state": "Enabled",
"tenantId": "THIS_IS_FAKE-afe1-4696-NOPE-f97a7ac416d7",
"user": {
"name": "jasghar@chef.io",
"type": "user"
}
},
{
"cloudName": "AzureCloud",
"id": "b02e675a-FAKE-49bd-IDSARECOOL-daa7ed05bf4e",
"isDefault": false,
"name": "Solutions",
"state": "Enabled",
"tenantId": "NEVEREVER-afe1-4696-PUTTHISOUT-f97a7ac416d7",
"user": {
"name": "jasghar@chef.io",
"type": "user"
}
}
]
```
Contributor guide
Assessment
This issue has not been assessed yet.