Allow authentication with profile

Created on 24 November 2020, about 4 years ago
Updated 13 November 2024, about 2 months ago

Problem/Motivation

We are using https://github.com/Versent/saml2aws to access AWS locally. All other options are disabled due to security. Because we have errors in AWS and they are impossible to debug on server then having dummy connection is not enough.

Steps to reproduce

I'm not sure how to create that setup on AWS but you can read more from the above saml2aws project page.

Proposed resolution

We don't actually need more than just add 'profile' key to options because aws sdk supports it. Then aws sdk will go and read ~/.aws/credentials file and allow connection - just like key and secret would.

Remaining tasks

Add patch

User interface changes

None

API changes

None

Data model changes

None

Feature request
Status

RTBC

Version

2.0

Component

Code

Created by

🇪🇪Estonia hkirsman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇪Germany tstoeckler Essen, Germany

    Thanks for the patch! Can confirm that this works. I think it's quite neat to not have to specify the key and secret, in particular, in settings.php directly, but just reference the profile and have the credentials in ~/.aws/credentials.

Production build 0.71.5 2024