binbashar / leverage

Binbash Leverage CLI intended to orchestrate Leverage Reference Architecture for AWS (www.binbash.co/leverage)
https://pypi.org/project/leverage/
Apache License 2.0
17 stars 2 forks source link

Move MFA/SSO auth scripts from toolbox into leverage CLI #210

Open Franr opened 1 year ago

Franr commented 1 year ago

Describe the Feature

Move the auth scripts from the toolbox image into the CLI repo and mount them every time we run an AWS Auth dependent container.

Expected Behavior

Everything should works the same as before, but now with logic scripts closer to the logic source (the CLI). Also, given this will be mounted from python, we can simplify the scripts using them as templates and pre-rendering values.

Use Case

The idea is to decouple logic (CLI) from the binaries repository (toolbox docker image).

Alternatives Considered

@angelofenoglio proposed https://binbash.atlassian.net/wiki/spaces/BDPS/pages/2305687557/Future+ideas+references#Use-of-credential_process-to-get-credentials%3A which would be even better but requires more planning yet.