Skip to content

Commit

Permalink
10391: Do not automatically try and connect via psql when generating …
Browse files Browse the repository at this point in the history
…tokens
  • Loading branch information
Zachary Rogers committed Oct 17, 2024
1 parent a5445c3 commit ba20bf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/postgres/generate-token.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ fi
echo "Generated IAM Token:"
echo "$TOKEN"

# Connect to the PostgreSQL instance using psql with the generated token
psql "host=$DB_HOST port=$DB_PORT user=$DB_USER sslmode=verify-full sslrootcert=$SSL_CERT_PATH dbname=$DB_NAME password=$TOKEN"
# Optional - Connect to the PostgreSQL instance using psql with the generated token
# psql "host=$DB_HOST port=$DB_PORT user=$DB_USER sslmode=verify-full sslrootcert=$SSL_CERT_PATH dbname=$DB_NAME password=$TOKEN"

0 comments on commit ba20bf9

Please sign in to comment.