Keep model keys out of images, browsers and logs: validate at boot that a credential resolves, federate pods and CI instead of storing keys, and give each environment its own workspace and limits.
✓Validate at boot that a credential resolves, and say why a missing variable is the wrong test
✓Trace a federated token exchange and name the two traps that break it
✓Choose where each credential may live and give each environment its own workspace
27
Config and Secrets
Keep keys out of images, browsers and logs; check credentials at boot.
Key idea
Config says how the service behaves; a secret opens the till. Federate: the pod holds an identity, not a key.
No key anywhere: the pod trades its identity for a token that expires
Blue: request. Teal: your backend, its pod identity and the tokens it trades. Amber: the model. Grey: the platform and the token endpoint. Dashed: the path that must not exist.