# Secrets in Docker: How to Manage Keys Page: https://stenobird.com/podcast/programming-tech-brief-by-hackernoon-6364125/secrets-in-docker-how-to-manage-keys Text version: https://stenobird.com/podcast/programming-tech-brief-by-hackernoon-6364125/secrets-in-docker-how-to-manage-keys.md Podcast: [Programming Tech Brief By HackerNoon](https://stenobird.com/podcast/programming-tech-brief-by-hackernoon-6364125) Published: 2026-06-08T16:00:54+00:00 Episode link: https://share.transistor.fm/s/511299f4 Audio file: https://media.transistor.fm/511299f4/cb2f7d50.mp3 Processing state: not_requested JSON: https://stenobird.com/v1/public/podcasts/programming-tech-brief-by-hackernoon-6364125/episodes/secrets-in-docker-how-to-manage-keys Duration seconds: 483 ## Resource This story was originally published on HackerNoon at: https://hackernoon.com/secrets-in-docker-how-to-manage-keys . This article walks through the places a secret leaks in a normal Docker workflow, how to check for each one, and the two patterns that actually keep keys out Check more stories related to programming at: https://hackernoon.com/c/programming . You can also check exclusive content about #docker , #docker-image , #docker-containers , #docker-security , #docker-compose , #secret-leaks , #how-to-manage-keys , #hackernoon-top-story , and more. This story was written by: @tnawaz . Learn more about this writer by checking @tnawaz's about page, and for more stories, please visit hackernoon.com . This article walks through the places a secret leaks in a normal Docker workflow, how to check for each one, and the two patterns that actually keep keys out: BuildKit secret mounts for build time, and runtime injection for everything else. The examples use the local agent stack from my earlier Compose article, because it is a realistic case. ## Actions - request_transcript: `POST https://stenobird.com/v1/public/podcasts/programming-tech-brief-by-hackernoon-6364125/episodes/secrets-in-docker-how-to-manage-keys/transcription-requests` — Idempotently request low-priority transcript generation for this episode. - read_markdown: `GET https://stenobird.com/podcast/programming-tech-brief-by-hackernoon-6364125/secrets-in-docker-how-to-manage-keys.md` — Read the agent-friendly Markdown representation of this episode resource. A page view does not enqueue transcription. Agents should invoke `request_transcript` explicitly when they need this episode processed. ## Transcript Full transcripts are not published on public pages unless there is a clear rights basis.