Code Monkey home page Code Monkey logo

Comments (5)

alemorcuq avatar alemorcuq commented on June 24, 2024

This defeats the purpose of sealing scopes altogether, as it would allow users to deploy SealedSecrets they should not have access to in their namespaces and see the contents. If you require your sealed secrets to be read in different namespaces, you can use the cluster-wide sealing scope.

from sealed-secrets.

suxiaoxiaomm avatar suxiaoxiaomm commented on June 24, 2024

We do want the namespace scoped sealing strategy, but we have some shared secret values(of course also have namespace specific secret values.). For those shared secret values, it is just don't make sense to seal them repeatedly for all the namespaces.
For example, I modified the shared secrets' values, I have to change sealed values for all namespaces.

from sealed-secrets.

alemorcuq avatar alemorcuq commented on June 24, 2024

But what you propose defeats the purpose of the namespace scoped sealing strategy. When you use the namespace scope you want your secret to only be decrypted in that namespace, so that if a user deploys your Sealed Secret on a different namespace they can't decrypt the secret.

If we add an annotation like the one you propose, that user could just annotate your Sealed Secret with the name of the namespace the secret was sealed for, deploy it on their namespace and decrypt it. You have lost that extra security the namespace scope provides and your Sealed Secret has effectively become cluster scoped.

Sealed Secrets are intended to have one scope, it's a security feature. If you want to share Sealed Secrets among namespaces, you have to use a cluster wide scope.

from sealed-secrets.

github-actions avatar github-actions commented on June 24, 2024

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

from sealed-secrets.

github-actions avatar github-actions commented on June 24, 2024

Due to the lack of activity in the last 7 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

from sealed-secrets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.