diff --git a/server/login.sh b/server/login.sh index e2c33dd..4cecb5a 100755 --- a/server/login.sh +++ b/server/login.sh @@ -1,15 +1,4 @@ -#!/usr/bin/expect -spawn confluent login - -expect "Email: " - -send -- "$env(TIKA_CC_USER)\r" - -expect "Password: " - -send -- "$env(TIKA_CC_PASS)\r" - -set timeout 600 -expect eof - -send_user "Confluent cloud login successful\n" \ No newline at end of file +#!/bin/ash +export CONFLUENT_CLOUD_EMAIL="$TIKA_CC_USER" +export CONFLUENT_CLOUD_PASSWORD="$TIKA_CC_PASS" +confluent login --save