Use secret key in code but do not want to have it readeable on a repo, best pratice?

⚓ Rust    📅 2026-04-28    👤 surdeus    👁️ 2      

surdeus

Hi,

I am working on data encryption. It is necessary to pass a secret key as an argument. I would like this key not to appear in the code as it will then be on a repository. Do you know the best practices for this kind of case, please?

6 posts - 4 participants

Read full topic

🏷️ Rust_feed