parent
efad71c470
commit
925df196fc
14
abra
14
abra
@ -1658,6 +1658,15 @@ sub_app_secret_generate(){
|
||||
local secret="$abra__secret_"
|
||||
local version="$abra__version_"
|
||||
local length="$abra__length_"
|
||||
local msg_already_outputted=${msg_already_outputted:-"false"}
|
||||
|
||||
if [ "$msg_already_outputted" == "false" ]; then
|
||||
warning "These generated secrets are now stored as encrypted data on your server"
|
||||
warning "Please take a moment to make sure you have saved a copy of the passwords"
|
||||
warning "Abra is not able to show the password values in plain text again"
|
||||
warning "See https://docs.cloud.autonomic.zone/secrets/ for more on secrets"
|
||||
msg_already_outputted="true"
|
||||
fi
|
||||
|
||||
if [ "$abra___all" == "true" ]; then
|
||||
# Note(decentral1se): we need to reset the flag here to avoid the infinite
|
||||
@ -1692,11 +1701,6 @@ sub_app_secret_generate(){
|
||||
abra__data_="$PW"
|
||||
|
||||
sub_app_secret_insert
|
||||
|
||||
warning "These generated secrets are now stored as encrypted data on your server"
|
||||
warning "Please take a moment to make sure you have saved a copy of the passwords"
|
||||
warning "Abra is not able to show the password values in plain text again"
|
||||
warning "See https://docs.docker.com/engine/swarm/secrets/ for more on secrets"
|
||||
}
|
||||
|
||||
###### .. app volume
|
||||
|
Reference in New Issue
Block a user