I have native azure SDK Go code.
I can't use it cause even when mounting $HOME/.azure, it can't resolve the credentials using default credential chain. Instead, I'd have to do a managed identity and setup more.
I want to be able to use my identity.
I can do this if I use azure cli container, but at that point I've regressing from the nice Go SDK code for processing some stuff to using azure-cli and then trying to reprocess it back into a struct. Not ideal.
Mounting $HOME/.azure might work, if I was running my Go code in the context of the azure-cli container or installing azure-cli in my container.
My understanding of the lifecycle isn't clear here.
If I use Go code I understand that Dagger is running through dagger engine for me, but I'm not certain I understand if I can impact this operating environment too to install azure-cli or layer azure cli + dagger's built binary for this code to run.
Any insight?