Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a mechanism to read AWS S3 access credentials from environment variables #1562

Closed
DeflateAwning opened this issue Mar 13, 2024 · 2 comments
Labels
suggestion Feature suggestion

Comments

@DeflateAwning
Copy link

Is your feature request related to a problem? Please describe.

In a deployment on AWS, I'd like to manage the S3 bucket access controls through IAM via policy, which generates the access credentials as environment variables.

Describe the solution you'd like

I'd like to be able to type something like [ENV_VAR:AWS_ACCESS_KEY] in the text fields to setup an S3 virtual folder, and have SFTPGo read the environment variable for those fields as such.

Describe alternatives you've considered

Currently you have to generate an insecure IAM user (against all the AWS warnings as you go through the process), and then paste in the secret values. These values aren't automatically rotated though, and have to enter the clipboard of developers.

If this already exists, I couldn't find it in the docs.

What are you using SFTPGo for?

Medium business

Additional context

image

@DeflateAwning DeflateAwning added the suggestion Feature suggestion label Mar 13, 2024
@drakkan
Copy link
Owner

drakkan commented Jun 15, 2024

This is already supported in the same way as the AWS SDK

@drakkan drakkan closed this as not planned Won't fix, can't repro, duplicate, stale Jun 15, 2024
@DeflateAwning
Copy link
Author

Can you elaborate, and point to the applicable documentation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion Feature suggestion
Projects
None yet
Development

No branches or pull requests

2 participants