You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Asking for a user MFA (they should have authy or so):
token=String.trim(IO.gets("Please type your MFA (MultiFactorAuthentication): "))
Getting a Session Token + Acess + Secret for the specific role
opts=%{token_code: token,serial_number: System.get_env("YOUR_USER_SERIAL_ARN_NUMBER")}# Making the request to the STS api/ Assuming a role response=ExAws.STS.assume_role(System.get_env("ROLE_IAM_CODE"),"__SESSION_NAME__",opts)|>ExAws.request!
Using the response body to setup a new configuration process to use S3