# \#secrets

**URL:** https://forum.elixirforum.com/tag/secrets/1567.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [ SecretMana - Manage your secrets within your code](https://forum.elixirforum.com/t/secretmana-manage-your-secrets-within-your-code/70124)

<div class="topic-metadata">

**Author:** [@nduitz](https://forum.elixirforum.com/u/nduitz)\
**Replies:** 2\
**Last updated:** [March 25, 2025, 1:54pm UTC](https://forum.elixirforum.com/t/secretmana-manage-your-secrets-within-your-code/70124 "2025-03-25T13:54:12Z")

</div>

Hey there, I got a little frustrated with our current workflow regarding secrets in phoenix projects. Keeping them in sync was a mess. As we also work with rails we got used to storing our secrets encrypted in git. I c…

---

## [Is there a reason why Livebook secrets are automatically prepended with LB?](https://forum.elixirforum.com/t/is-there-a-reason-why-livebook-secrets-are-automatically-prepended-with-lb/54702)

<div class="topic-metadata">

**Author:** [@dmitriid](https://forum.elixirforum.com/u/dmitriid)\
**Replies:** 6\
**Last updated:** [April 12, 2023, 8:45am UTC](https://forum.elixirforum.com/t/is-there-a-reason-why-livebook-secrets-are-automatically-prepended-with-lb/54702 "2023-04-12T08:45:38Z")

</div>

I spent probably 15 minutes trying to figure this out until I ran into What's new in Livebook 0.7 - Livebook.dev - The Livebook Blog and actually read through it because it’s somewhat buried at the end after a video. Yo…

---

## [Setting SECRET\_KEY\_BASE properly](https://forum.elixirforum.com/t/setting-secret-key-base-properly/53063)

<div class="topic-metadata">

**Author:** [@sandorbedo](https://forum.elixirforum.com/u/sandorbedo)\
**Replies:** 1\
**Last updated:** [January 9, 2023, 11:49am UTC](https://forum.elixirforum.com/t/setting-secret-key-base-properly/53063 "2023-01-09T11:49:29Z")

</div>

Do I have to set the exact same SECRET\_KEY\_BASE value when a) building a release, and also when b) starting that release in production? If running the app in a cluster (two nodes or more), do I have to set the same SECR…

---

## [Retrieve array env varibales from secrets (K8S)](https://forum.elixirforum.com/t/retrieve-array-env-varibales-from-secrets-k8s/52931)

<div class="topic-metadata">

**Author:** [@xgeek116](https://forum.elixirforum.com/u/xgeek116)\
**Replies:** 0\
**Last updated:** [January 3, 2023, 11:59am UTC](https://forum.elixirforum.com/t/retrieve-array-env-varibales-from-secrets-k8s/52931 "2023-01-03T11:59:16Z")

</div>

I’m developing a Phoneix service that I will publish it as a docker image to be used by many consumer applications. I need a way to let theese consumers define their own “env variables / parameters” via kubernetes secre…

---

## [SecretVault -- store your secrets inside your repository](https://forum.elixirforum.com/t/secretvault-store-your-secrets-inside-your-repository/51222)

<div class="topic-metadata">

**Author:** [@hst337](https://forum.elixirforum.com/u/hst337)\
**Replies:** 31\
**Last updated:** [December 30, 2022, 5:26pm UTC](https://forum.elixirforum.com/t/secretvault-store-your-secrets-inside-your-repository/51222 "2022-12-30T17:26:07Z")

</div>

SecretVault :lock: https://github.com/spawnfest/secret\_vault All-in-one solution for storing your secrets inside repository. Overview It is a lightweight zero-dependency solution for Elixir projects to store secrets in…

---

## [How to add a config file to a livebook?](https://forum.elixirforum.com/t/how-to-add-a-config-file-to-a-livebook/50730)

<div class="topic-metadata">

**Author:** [@mxst](https://forum.elixirforum.com/u/mxst)\
**Replies:** 2\
**Last updated:** [October 3, 2022, 3:39pm UTC](https://forum.elixirforum.com/t/how-to-add-a-config-file-to-a-livebook/50730 "2022-10-03T15:39:18Z")

</div>

Hello everyone, I’m trying to add a secret to my livebook. ( I need to have some credentials but I don’t want to save them in the livebook directy) I tried the following in the ‘Notebook dependencies and setup’ Mix.i…

---

## [Using "google\_api\_secret\_manager" Library to access secrets in GCP](https://forum.elixirforum.com/t/using-google-api-secret-manager-library-to-access-secrets-in-gcp/47124)

<div class="topic-metadata">

**Author:** [@xgeek116](https://forum.elixirforum.com/u/xgeek116)\
**Replies:** 2\
**Last updated:** [April 9, 2022, 3:56pm UTC](https://forum.elixirforum.com/t/using-google-api-secret-manager-library-to-access-secrets-in-gcp/47124 "2022-04-09T15:56:28Z")

</div>

I’m trying to user the Lib : “google\_api\_secret\_manager” but there are no example provided so I installed the Lib and find the function that I need to use : “secretmanager\_projects\_secrets\_get” to access the secret in …

---

## [Manually Load an Elixir Config File at Runtime](https://forum.elixirforum.com/t/manually-load-an-elixir-config-file-at-runtime/30184)

<div class="topic-metadata">

**Author:** [@kreiling.io](https://forum.elixirforum.com/u/kreiling.io)\
**Replies:** 12\
**Last updated:** [October 26, 2021, 1:26pm UTC](https://forum.elixirforum.com/t/manually-load-an-elixir-config-file-at-runtime/30184 "2021-10-26T13:26:42Z")

</div>

I’d like to discuss how to manually load Elixir configuration files at runtime. Macro Intent I want to load an elixir config file (something that looks like, for example, config/config.exs) at runtime, and load that int…

---

## [Is there a way to preventing secrets from being printed to console or logs?](https://forum.elixirforum.com/t/is-there-a-way-to-preventing-secrets-from-being-printed-to-console-or-logs/40142)

<div class="topic-metadata">

**Author:** [@jeramyRR](https://forum.elixirforum.com/u/jeramyRR)\
**Replies:** 2\
**Last updated:** [May 31, 2021, 6:43pm UTC](https://forum.elixirforum.com/t/is-there-a-way-to-preventing-secrets-from-being-printed-to-console-or-logs/40142 "2021-05-31T18:43:16Z")

</div>

I have a struct that contains a database key and I want to prevent that key from being printed out when a user inspects the struct or even when the creation of that struct prints out the return value in the console. Is …

---

## [Hush - Configure your Elixir Applications Securely](https://forum.elixirforum.com/t/hush-configure-your-elixir-applications-securely/37910)

<div class="topic-metadata">

**Author:** [@gordalina](https://forum.elixirforum.com/u/gordalina)\
**Replies:** 2\
**Last updated:** [March 26, 2021, 4:19pm UTC](https://forum.elixirforum.com/t/hush-configure-your-elixir-applications-securely/37910 "2021-03-26T16:19:07Z")

</div>

Today I am happy to announce Hush, the simplest way to inject secrets into your app configuration. Hush was purpose built to solve a common use case for projects that require secrets and want to inject them in a secure …

---

## [Run mix phx.gen.cert without adding phoenix as a project dependency?](https://forum.elixirforum.com/t/run-mix-phx-gen-cert-without-adding-phoenix-as-a-project-dependency/27411)

<div class="topic-metadata">

**Author:** [@mergefailure](https://forum.elixirforum.com/u/mergefailure)\
**Replies:** 7\
**Last updated:** [December 10, 2019, 6:03pm UTC](https://forum.elixirforum.com/t/run-mix-phx-gen-cert-without-adding-phoenix-as-a-project-dependency/27411 "2019-12-10T18:03:57Z")

</div>

I’m looking for a convenient way to generate ssl certificates for local testing but the openssl config is horrible. I’d like to be able to do two things, generate ssl certs and Root CA that I would install on containers…

---

## [Secure masked tokens for API keys and password resets](https://forum.elixirforum.com/t/secure-masked-tokens-for-api-keys-and-password-resets/27336)

<div class="topic-metadata">

**Author:** [@Crowdhailer](https://forum.elixirforum.com/u/Crowdhailer)\
**Replies:** 8\
**Last updated:** [December 6, 2019, 4:18pm UTC](https://forum.elixirforum.com/t/secure-masked-tokens-for-api-keys-and-password-resets/27336 "2019-12-06T16:18:18Z")

</div>

My current application needs secure tokens for password reset. These tokens do not contain any state, the security model is that the bearer will use them to talk to the server and the server can look up the associated s…

---

## [Phoenix secrets checked into version control?](https://forum.elixirforum.com/t/phoenix-secrets-checked-into-version-control/22342)

<div class="topic-metadata">

**Author:** [@Exadra37](https://forum.elixirforum.com/u/Exadra37)\
**Replies:** 1\
**Last updated:** [May 10, 2019, 5:33pm UTC](https://forum.elixirforum.com/t/phoenix-secrets-checked-into-version-control/22342 "2019-05-10T17:33:14Z")

</div>

From Phoenix Deployment docs: If for some reason you do not want to rely on environment variables, you can hard code the secrets in your config/prod.secret.exs , but make sure to check the file into your version contro…
