Skip to content

Experimenting with Azure APIs to retrieve resources information

License

Notifications You must be signed in to change notification settings

demeringo/az-scan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

az-scan

Experimenting with Azure APIs to retrieve resources information

Objective is to port back the code to Boavizta cloud-scanner when it is ready.

Usage

List VM's

az login 

cargo run

Notes

SSL

To compile in WSL2, I had to disable native SSL (disable default features and enable rustls) with default-features = false, features = ["enable_reqwest_rustls"].

[dependencies]
azure_core = { version = "0.20", default-features = false, features = ["enable_reqwest_rustls"] }
azure_identity = { version = "0.20", default-features = false, features = ["enable_reqwest_rustls"] }
azure_mgmt_compute = { version = "0.20", default-features = false, features = ["default_tag", "enable_reqwest_rustls"] }

Authentication

Using Azure cli

az login 

Env vars

About

Experimenting with Azure APIs to retrieve resources information

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages