paint-brush
Getting rid of Docker plain text credentialsby@frontside
22,402 reads
22,402 reads

Getting rid of Docker plain text credentials

by David Rieger2mMarch 8th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

You might not be aware of it, but the <a href="https://hackernoon.com/tagged/docker" target="_blank">docker</a> engine stores the credentials you use with <code class="markup--code markup--p-code">docker login</code> in plain text in a file called <code class="markup--code markup--p-code">$HOME/.docker/config.json</code>. Well, granted, it’s not ASCII, it’s base64, which may look like encryption on first glance, <strong>but it’s not</strong>. Base64 is a scheme for encoding, not encryption. You can simply copy the base64 string and convert it to ASCII in a matter of seconds.

Company Mentioned

Mention Thumbnail
featured image - Getting rid of Docker plain text credentials
David Rieger HackerNoon profile picture
David Rieger

David Rieger

@frontside

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite