5.3 Sealed Secrets

Oracle Banking Services uses Sealed Secrets to protect secret values represented in deployment manifests and GitOps configuration. Values are encrypted using the public certificate corresponding to the target Sealed Secrets controller key. The controller decrypts the applicable SealedSecret and creates the Kubernetes Secret consumed by the workload.

Keep plaintext inputs and private sealing keys in protected locations outside source control. Publish only reviewed sealed values and manifests through the approved change process. Verify that the public certificate used for sealing matches the target controller key arrangement before deployment.

Select the narrowest supported sealing scope. Named secret sections in the documented deployment utility normally bind to the secret name and namespace; shared values may use cluster-wide scope. Cluster-wide scope permits broader reuse and shall be reviewed accordingly. Re-seal from protected source values when the required name, namespace, or scope changes.

Sealed Secrets protects the encrypted manifest representation. The generated Kubernetes Secret requires appropriate role-based access control, workload access restrictions, and platform protection of stored data. Base64 representation of Kubernetes Secret data is not encryption. Limit secret mounts and operator access to the required components.