3 ms·
We set up an ssh cert signing server using Hashicorp Vault [1] so we didn't have to keep rotating keys across a fleet of boxes we couldn't always reach. It was
by d0gsg0w00f 4y ago
We set up an ssh cert signing server using Hashicorp Vault [1] so we didn't have to keep rotating keys across a fleet of boxes we couldn't always reach. It was cool but it made me nervous to centralize something like that.
Cert sigantures expired after 30 min so leaks were not a problem.
It was backed by DynamoDB and the keys were in memory so everytime the containers rebooted someone would have to manually unseal before SSH would work again.
[1] - https://www.hashicorp.com/blog/managing-ssh-access-at-scale-with-hashicorp-vault https://www.hashicorp.com/blog/managing-ssh-access-at-scale-...
- seti0Cha 4y agoWe did this as well. To mitigate the danger of a vault outage, we had a very tightly restricted endpoint which generated 24 hour certs that were fetched by automation on a single box. In the event of a vault outage, we'd have a day to either fix it or deploy public key access.