---
title: "Discussion on \"Avoid Putting Credentials in Code\" | Hashnode"
description: "Discussion on \"Avoid Putting Credentials in Code\". by Vee H. Phan\n\nPhoto by Arget on Unsplash\nRecently I was working on a codebase that had database credentials hardcoded in connection strings. Not only is the connection string hardcoded with credentials, but it is also repeated in multiple places in..."
url: "https://hashnode.com/posts/avoid-putting-credentials-in-code/66f11dc77c64c2b6c6e2aa14"
---

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

Discussion

# [Avoid Putting Credentials in Code](https://vee-h.hashnode.dev/avoid-putting-credentials-in-code?utm_source=hashnode&utm_medium=feed)

by Vee H. Phan Photo by Arget on Unsplash Recently I was working on a codebase that had database credentials hardcoded in connection strings. Not only is the connection string hardcoded with credentials, but it is also repeated in multiple places in...

Sep 23, 2024 · 4 min read · vee-h.hashnode.dev  
Updated Sep 24, 2024  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#best-practices](https://hashnode.com/tag/best-practices)
-   [#pythonsecurity](https://hashnode.com/tag/pythonsecurity)

## Written by

[Vee Huen Phan](https://hashnode.com/@vee88)

@vee88

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

Python/JS developer/Data Enthusiast in 5g mobile telecom industry

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
