Use pass for secret management
This commit is contained in:
parent
881b698966
commit
5163598319
4
build.sh
4
build.sh
@ -21,7 +21,9 @@ sudo ignite vm start $NAME
|
||||
IP=$(sudo ignite vm ls | grep faas | cut -f9 -d\ )
|
||||
waitport $IP 22
|
||||
|
||||
scp -o "StrictHostKeyChecking no" setup.sh root@$IP:
|
||||
ssh -o "StrictHostKeyChecking no" root@$IP mkdir -p /var/lib/faasd/secrets
|
||||
ssh root@$IP "echo $(pass faas.ralsina.me) > /var/lib/faasd/secrets/basic-auth-password"
|
||||
scp setup.sh root@$IP:
|
||||
ssh root@$IP sh setup.sh
|
||||
|
||||
# Login
|
||||
|
Loading…
Reference in New Issue
Block a user