<vault>
The line names the vault server: the scheme, the name or address and, if needed, the port.
The scheme matters. http means the token and the secrets themselves travel over the network in plain text — that is, the vault stops being a vault. For anything other than a test bench, https is required.
This is an external dependency on the configuration reading path. An unavailable vault means the node will not read the signing keys and the certificate — and this will surface at reload.
The value is an address with a scheme:
| What | Note |
|---|---|
| https://name | the usual case; the default port |
| https://name:port | if the vault listens on a non-standard one |
| http://… | test bench only: the token and secrets will go in plain text |
Check availability before applying the configuration, not after.
# a vault on its own port, necessarily over https <vault> server-url https://myvault:4500 access-token akhdfasdhf786282684734kjsdhf </vault>
what people get wrong and how it ends2 mistakes▶
our experience
our experience
2 relations
curl -sI https://myvault:4500/v1/sys/health | head -1
3 articles
◇Secrets in an external vaultSigning keys can be kept in HashiCorp Vault: the configuration keeps a path, and the engine fetches the key over HTTP and keeps it in memory without writing it to disk.◇Who is allowed to submit mail and for whom to accept itOut of the box, the node accepts submission only from the machine itself; two different questions — “who can send through us” and “for whose addresses we accept mail” — are answered by different directives.◇The group that grants management rightsMembership in the pmta group gives an unprivileged user the right to call the node’s commands and use submission.