feat: password env variable

This commit is contained in:
2026-03-01 18:03:46 +01:00
parent f40eeff6be
commit cc9d388c0a
5 changed files with 79 additions and 53 deletions

View File

@@ -10,8 +10,6 @@ ENV_LIST=(
"EMAIL" "HOSTNAME"
"TELEGRAM_TOKEN" "TELEGRAM_CHAT_ID"
"AWS" "ENDPOINT" "AWS_ACCESS_KEY_ID" "AWS_SECRET_ACCESS_KEY"
"GITHUB_AUTH_SECRET"
"DB_PASSWORD"
)
readonly REQ=(
@@ -24,6 +22,7 @@ readonly REQ=(
"pgrep"
"pkill"
"uptime"
"openssl"
)
function check_root() {
@@ -74,7 +73,7 @@ function main() {
for env in "${ENV_LIST[@]}"; do
read -sp "Enter value for $env: " value
echo
env_variable "$env" "$value"
env_variable_interaction "$env" "$value"
done
install_scripts