https://github.com/devigned/go-az-cli-stuff
Just some example stuff in golang that az cli does
https://github.com/devigned/go-az-cli-stuff
Last synced: 5 months ago
JSON representation
Just some example stuff in golang that az cli does
- Host: GitHub
- URL: https://github.com/devigned/go-az-cli-stuff
- Owner: devigned
- License: mit
- Created: 2020-03-11T14:44:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-29T03:24:56.000Z (almost 6 years ago)
- Last Synced: 2023-03-22T14:57:35.948Z (almost 3 years ago)
- Language: Go
- Size: 7.81 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# az cli like golang
Just some example stuff in golang that az cli does.
This example will open a browser and auth in a similar way as Azure CLI.
## To Run
```bash
go run .
```
## Notes
- [multi-tenant apps](https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-convert-app-to-be-multi-tenant#update-your-code-to-send-requests-to-common)
- [auth code flow](https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow)
- [token v1 scopes](https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-v1-app-scopes)