question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[RFC] Support gcp secrets

See original GitHub issue

Is your feature request related to a problem? Please describe. I’m running an app in the google cloud and using the google secret manager to store passwords and tokens. Currently we don’t have a good solution to manager secrets in multiple environments using secrets manager, we need to everytime change to environment variable when we are running locally. I’d like to integrate dynaconf with gsecrets.

Describe the solution you’d like I found this project https://github.com/binxio/gcp-get-secret. It is a client to configure environment variable with values from google secret manager. I was thinking about using the similar strategy and build a loader to do this: The secrets could be specified usinig the following formats:

[default]
SECRET = "gcp:{name}"
SECRET = "gcp:{name}/{version}"
SECRET = "gcp:{project}/{name}"
SECRET = "gcp:{project}/{name}/{version}"
SECRET = "gcp:{projects}/{project}/{secrets}/{name}/versions/{version}"

I’m going to look how the vault integration works, but before starting to code, I would like to know if makes sense to build this loader.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:6
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
sephiartlistcommented, Jul 6, 2021

Hi, If this is not too complicated I’ll be happy to try and assist in a PR (but I’ll need to have some guidance)

0reactions
sephiartlistcommented, Jun 7, 2022

should we wait to see the final implementation of issue #586 ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

[RFC] Support gcp secrets · Issue #498 · dynaconf ... - GitHub
I'm running an app in the google cloud and using the google secret manager to store passwords and tokens. Currently we don't have...
Read more >
Developers - [RFC] Support gcp secrets - - Bountysource
[RFC] Support gcp secrets. ... I'm running an app in the google cloud and using the google secret manager to store passwords and...
Read more >
Set an expiration date for a secret - Google Cloud
If the service account attempts to access the secret after 45 days, a Permission Denied error will be returned and workflows requiring the...
Read more >
Stop Downloading Google Cloud Service Account Keys!
These keys can be leaked accidentally or maliciously allowing attackers to gain access to your sensitive GCP resources. Additionally, when used actions cannot ......
Read more >
How to meet Google Cloud Platform security best practices
User-managed keys can easily be compromised by common development practices, such as exposing them in source code, leaving them in the downloads directory,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found