7 ms·
I think K8S secrets get a bad wrap. They are not intended to be secret in the sense that they are "kept from prying eyes by default". The secret object is simpl
by notwedtm 5y ago
I think K8S secrets get a bad wrap. They are not intended to be secret in the sense that they are "kept from prying eyes by default". The secret object is simply a first-class citizen that differentiates it from a ConfigMap in a way that allows distinct ACL's.
Most organizations I know will still use something like ExternalSecret for source control and then populate the Secret with the values once in cluster and to an object with very few access points.
- gscho 5y agoI think calling it a secret when it isn’t gave it a bad wrap. The last time I looked at the documentation it didn’t even clearly describe that it is not a secure object (that may have changed recently). Why call it a secret when it is not even close to one? I guess thing-to-store-secrets-if-you-use-rbac was too long.
- threeseed 5y agoBut it can be a secret. You can store Base64-encoded, encrypted data. And you can encode it for example using an external KMS.
- Nullabillity 5y agoIf you don't use RBAC (or some other ACL mechanism) then it's already game over, everyone with access to your cluster already has full root access.
- deleted 5y ago[deleted]
- jhugo 5y agoI think you're looking for "bad rap" (as in "rap sheet"). A bad wrap is an unappetising tortilla.
- kitsune_cw 5y agoI've always seen it written as "bad rep" as in reputation.
- dharmab 5y agoBad rap is the older form: https://www.merriam-webster.com/words-at-play/usage-bad-rap-vs-bad-rep-vs-bad-wrap https://www.merriam-webster.com/words-at-play/usage-bad-rap-...
- morelisp 5y agoIf it's only base64 and not encrypted, that also seems like a bad wrap.