Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Support for mounting sensitive config values as secret volumes #748

Closed
mhamann opened this issue May 14, 2021 · 3 comments
Closed

Support for mounting sensitive config values as secret volumes #748

mhamann opened this issue May 14, 2021 · 3 comments
Labels
enhancement New feature or request Stale

Comments

@mhamann
Copy link

mhamann commented May 14, 2021

In all of the configuration examples, secrets (e.g. API keys) that are used directly by external-secrets in order to authenticate with a secrets backend (e.g. secrets manager, vault, etc) are attached to the pod via an environment variable.

Generally, it's recommended to mount secrets as files rather than environment variables, because that's a slightly better security posture. (One example from SO: https://stackoverflow.com/questions/51365355/kubernetes-secrets-volumes-vs-environment-variables). Secret values can also be changed without restarting the pod when mounted as a volume.

Is there a reason that external-secrets doesn't seem to support this? If not, are folks open to enabling either mechanism in a plugin-agnostic fashion?

@moolen
Copy link
Member

moolen commented Jun 14, 2021

Ideally, you wouldn't need any credentials at all and rely on the trust relationship of the underlying compute infrastructure.
I agree, i see the value to use files!

Is there a reason that external-secrets doesn't seem to support this?

AFAIK there was no demand for that, yet. It seems that this is a risk people are willing to accept.

If not, are folks open to enabling either mechanism in a plugin-agnostic fashion?

Sure!

@moolen moolen added the enhancement New feature or request label Jun 14, 2021
@github-actions
Copy link

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label Sep 13, 2021
@github-actions
Copy link

This issue was closed because it has been stalled for 30 days with no activity.

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

No branches or pull requests

2 participants