space-cloud icon indicating copy to clipboard operation
space-cloud copied to clipboard

[Feature] Add support for loading secrets from env and k8s secret

Open YourTechBud opened this issue 2 years ago • 0 comments

The problem faced currently?

Currently all secret data is inserted directly in each CR. That's a security risk. We need to want the ability to load secrets from env or k8s secret objects

How can we solve it?

  • We have a struct named SecretSource. We should have each Source implement a method like RetrieveSecrets which returns a list of SecretSources present in that source.
  • The source manager can load the secret value from the secretSource and store the value within this struct itself.
  • will need to add a new field called value in this struct.
  • the sources can be rest assured that they will always fine the secret value in the struct when they are getting provisioned

If you want this feature to be implemented, give it a thumbs up reaction, so that we can determine which features are important to you. 👍

YourTechBud avatar Apr 16 '23 12:04 YourTechBud