Noovolari / leapp

Leapp is the DevTool to access your cloud
https://www.leapp.cloud/
Mozilla Public License 2.0
1.61k stars 146 forks source link

Azure Integration Shared Credentials File? #440

Open erickertzvfc opened 1 year ago

erickertzvfc commented 1 year ago

Is your feature request related to a problem? Please describe. This isn't as much of a feature request as it is moreso a question about Azure integration examples.

Describe the solution you'd like In AWS integration a AWS_SHARED_CREDENTIALS_FILE is used in ~/.aws/credentials by default. This allows other applications outside of Leapp to use the sessions created by Leapp. I reference this file in kubeconfig to use with kubectl and Lens. I'm unsure how to do this with Azure integration.

Describe alternatives you've considered The Azure documentation, from what ive found, also does not make it clear on how to accomplish this.

Additional context I like using Leapp to handle all of my cloud auth when using other tools like kubectl and Lens. I can do this with AWS integration with AWS_SHARED_CREDENTIALS_FILE but am unsure how to accomplish the same with Azure integration.

Thanks for any help!

rick-rtt commented 1 year ago

Hello @erickertzvfc, when starting an Azure integration via Leapp, we manage the ~/.azure folder and its content (specifically, azureProfile.json and the msal_token_cache files), so maybe it would be enough to simply share the entire .azure folder. Let me know if you need more help!