Open carolynvs opened 2 years ago
It would be awesome if support was added for using azcli credentials like Packer , as you'd be able to use a service principle from azure pipelines and handle permissions that way.
That should be possible now that you can mount the ~/.azure
directory into the invocation image.
Logging in is a pain right now. You have to specify it for each action, and pass in a bunch of flags and remember to suppress output:
We could add a custom login command to the mixin to simplify the default login, which assumes the default environment variable names:
In addition, we could have the mixin detect if we are logged in (a file gets stored in ~/.azure after login) before running a command and then automatically logging in if needed.