Microservice:
- API based
- Use vault to get token with admin DB privileges to:
- create new database
- create a new readonly role where new users can be created from
- create a new fullaccess role where new users can be created from
| #!/bin/bash | |
| # Based off of http://kpumuk.info/mac-os-x/how-to-show-ssh-host-name-on-the-iterms-background/ | |
| # SSH with host name and IP address in background (only in iTerm.app) | |
| ## Customize! | |
| BG_COLOR="#004051" # Background color (dark theme) | |
| FG_COLOR="#a8ffa5" # Foreground color (dark theme) | |
| GRAVITY="NorthEast" # Text gravity (NorthWest, North, NorthEast, West, Center, East, SouthWest, South, SouthEast) | |
| OFFSET1="20,10" # Text offset | |
| OFFSET2="20,50" # Text offset | |
| FONT_SIZE="50" # Font size in points |
| #!/bin/bash | |
| # Based off of http://kpumuk.info/mac-os-x/how-to-show-ssh-host-name-on-the-iterms-background/ | |
| # SSH with host name and IP address in background (only in iTerm.app) | |
| ## Customize! | |
| BG_COLOR="#004051" # Background color (dark theme) | |
| FG_COLOR="#a8ffa5" # Foreground color (dark theme) | |
| GRAVITY="NorthEast" # Text gravity (NorthWest, North, NorthEast, West, Center, East, SouthWest, South, SouthEast) | |
| OFFSET1="20,10" # Text offset | |
| OFFSET2="20,50" # Text offset | |
| FONT_SIZE="50" # Font size in points |
Microservice:
| Microservice: | |
| - API based | |
| - Use vault to get token with admin DB privileges to: | |
| - create new database | |
| - create a new readonly role where new users can be created from | |
| - create a new fullaccess role where new users can be created from | |
| ###### For microservice API - Manual? steps to after spinning up Vault | |
| # Revoke public privileges to connect to any database |
I hereby claim:
To claim this, I am signing this object:
| job "env-fetcher" { | |
| datacenters = ["dc1"] | |
| region = "europe" | |
| group "demo-app" { | |
| ephemeral_disk { | |
| migrate = true | |
| size = "500" | |
| sticky = true | |
| } |