What are Sealed Secrets scopes?
IntermediateConceptSecrets in GitOps
Answer
strict(default): ciphertext is bound to the Secret's name and namespace; it cannot be renamed or moved.namespace-wide: can be renamed within the same namespace.cluster-wide: can be used in any namespace with any name.
Strict prevents someone copying an encrypted DB password into their own namespace to read it. Set with kubeseal --scope or the annotations sealedsecrets.bitnami.com/namespace-wide / cluster-wide.
More on Secrets in GitOps
Why are plain Kubernetes Secrets a problem in GitOps?BeginnerHow does Sealed Secrets work?BeginnerHow does Sealed Secrets key rotation work, and what must you back up?AdvancedHow does External Secrets Operator fit into GitOps?BeginnerShow an ExternalSecret for AWS Secrets Manager.IntermediateHow does SOPS work, and how do you use it with Argo CD?Intermediate