DEV Community

Cover image for AWS CLI vs Azure CLI
Bervianto Leo Pratama
Bervianto Leo Pratama

Posted on

AWS CLI vs Azure CLI

Hello, everyone!

I want to compare AWS CLI and Azure CLI. I want to make this comparison simple. So here we are,

Feature AWS CLI Azure CLI
Platform Have all common OS (Linux, MacOS, and Windows) + Docker. Details Have all common OS + Docker. Details
Update CLI Use the same way as installing Have specific command to update az upgrade and support automatic update. Details
Source Code/Repository (Anyway, the star count maybe will be updated in the future) Open Source. Have 12.9k stars stars aws Details Open Source. Have 3.3k stars. stars az Details
Programing Language Python aws cli lang Python az cli lang
Contributors (The number maybe will be updated in the future) 309 aws contributors 864 az contributors
Configure CLI (Credentials) - Manual aws configure
- Environment variables
- Shared credentials file
- Config file
- IAM Role
Note: Basically, you only need to provide profile + the credentials (ACCESS_KEY_ID & SECRET_ACCESS_KEY)
Details
- Interactive sign in az login
- provide username & password az login -u <username> -p <password>
- Using service principal az login --service-principal -u <app-id> -p <password-or-cert> --tenant <tenant>
- Using managed identity az login --identity
Details
License Apache 2.0 MIT

Thank you

Thanks

Top comments (1)

Collapse
 
dhanush9952 profile image
Dhanush