asterion-digital / asterion-as-code

Deploying asterion digital infrastructure to aws and raspberry pi's using pulumi
2 stars 5 forks source link

Self-hosted secrets manager #13

Open shawngerrard opened 2 years ago

shawngerrard commented 2 years ago

We need a secrets manager to centrally manage, automate, and standardize authentication with external service providers.

There's multiple solutions out there, but some basic requirements:

First steps TBD.

jmhbnz commented 2 years ago

There are some chicken and egg situations we need to be careful of here. In order to deploy the infrastructure that would host our secrets manager we need some shared secrets to already exist and be accessible by team members.

As a balance and to give us a way to proceed with these initial shared secrets I suggest we enable gcp secrets manager at the asterion.digital organisation level in google cloud platform: https://console.cloud.google.com/marketplace/product/google/secretmanager.googleapis.com

We already rely on gcp for our company active directory so extending this slightly for some initial shared secrets makes sense to me.

In terms of this story for self-hosted secrets I would be in favor of developing a new app - vault stack to deploy hashicorp vault via helm: https://www.hashicorp.com/products/vault. @daljitdokal Has some good experience working with the vault helm chart and could supporting bringing this into a pulumi stack approach.