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

Allow referencing to SecretManagerSecret for secrets #272

Open
maqiuyujoyce opened this issue Sep 8, 2020 · 2 comments
Open

Allow referencing to SecretManagerSecret for secrets #272

maqiuyujoyce opened this issue Sep 8, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@maqiuyujoyce
Copy link
Collaborator

Per @kozejonaz in this comment:

I see that versions seems to be supported now, which is very cool. However, and this should probably be a separate issue/question, but do you have plans on making it possible to get secrets directly from Secret Manager to avoid having the secret as a k8s-object at all? Use-case: when creating a SQLUser you could fetch from Secret Manager directly to avoid creating a k8s Secret. I know you have projects like https://github.com/GoogleCloudPlatform/berglas that you could use as a sidecar etc., but it would be interesting to hear if you've considered this (if it's feasible/makes sense that is).

@mikelnrd
Copy link

mikelnrd commented May 29, 2021

Hi. I think this project might be relevant/helpful:
https://github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp

Project description: Google Secret Manager provider for the Secret Store CSI Driver. Allows you to access secrets stored in Secret Manager as files mounted in Kubernetes pods.

It can sync Secret Manager secrets into Kubernetes Secrets as well (and keep them updated).
More info: https://secrets-store-csi-driver.sigs.k8s.io/topics/sync-as-kubernetes-secret.html
See the example here: GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp#37 (comment)

@xiaobaitusi
Copy link
Contributor

Hi @mikelnrd, thanks for sharing the project. This looks helpful for the use case described in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants