Where do you generate the salt key for vault.yml? And what is it's purpose?

In vault.yml it says

`# Documentation: https://roots.io/trellis/docs/security/
vault_users:

  • name: "{{ admin_user }}"
    password: C9mvzdcwhmk!
    salt: “generateme”`

But it doesn’t say what URL I navigate to to generate the salt for that line there or in the referenced docs. Can someone tell me?

Also, in this case, I don’t understand what the salt us being used for.

Thank you!

The purpose is the same as any password salt, see here:

You can generate the salt the same place as the other salts, here:

https://roots.io/salts.html

3 Likes

Thank you! I am new to using salts so that clarified it for me.