-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
22 lines (17 loc) · 861 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
get-secret:
vault write -field=secret_id -f auth/approle/role/infrastructure-pipeline/secret-id
check-aws-credentials:
vault read -field=lease_duration infrastructure-pipeline/aws/creds/pipeline
vault list sys/leases/lookup/infrastructure-pipeline/aws/creds/pipeline
get-database-password:
vault read -field=username infrastructure-pipeline/database/creds/application
vault list sys/leases/lookup/infrastructure-pipeline/database/creds/application
list-leases:
vault list sys/leases/lookup/infrastructure-pipeline/aws/creds/pipeline
vault list sys/leases/lookup/infrastructure-pipeline/database/creds/application
build-network:
cd network && terraform init -backend-config=backend
cd network && terraform apply
revoke:
vault lease revoke -prefix infrastructure-pipeline/aws/creds
vault lease revoke -prefix infrastructure-pipeline/database/creds