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

Support secrets in Lambda environment #381

Open
twelch opened this issue Dec 6, 2024 · 1 comment
Open

Support secrets in Lambda environment #381

twelch opened this issue Dec 6, 2024 · 1 comment
Milestone

Comments

@twelch
Copy link
Contributor

twelch commented Dec 6, 2024

geoprocessing functions need to be able to access outside resources using API keys or other secrets.

There is a .env file that the developer sets up when running the devcontainer environment. But that only makes .env variables available when running tests locally.

We don't want to just insert all the .env file secrets into the Lambda environment on build/deploy. The framework needs a mechanism for the developer to specify which credentials should be made available to the Lambda environment.

@twelch
Copy link
Contributor Author

twelch commented Dec 6, 2024

Suggest using a prefix. any environment variable starting with GP_LAMBDA gets forwarded to the Lambda environment

@twelch twelch added this to the 7.1 milestone Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant