---
title: "Discussion on \"How I hid my keys from you\" | Hashnode"
description: "Discussion on \"How I hid my keys from you\". My GitHub repo wasn't available yet for a simple motive: my DB hostname, user and password were explicitly written in my code. So I had to find a way to hide these keys while still having an open-source code.\nJust remember, this isn't some pro hacker..."
url: "https://hashnode.com/posts/how-i-hid-my-keys-from-you/63c4859cdbe7ab4342a06c26"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How I hid my keys from you](https://xrick.hashnode.dev/how-i-hid-my-keys-from-you?utm_source=hashnode&utm_medium=feed)

My GitHub repo wasn't available yet for a simple motive: my DB hostname, user and password were explicitly written in my code. So I had to find a way to hide these keys while still having an open-source code. Just remember, this isn't some pro hacker...

Jan 15, 2023 · 2 min read · xrick.hashnode.dev  
Read the article

-   [#security](https://hashnode.com/tag/security)
-   [#go](https://hashnode.com/tag/go)
-   [#github](https://hashnode.com/tag/github)
-   [#git](https://hashnode.com/tag/git)

## Written by

[Exploding Rick](https://hashnode.com/@ExplodingRick)

@ExplodingRick · Brazil

  
[View profile](https://hashnode.com/@ExplodingRick)

On a journey to full stack

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
