diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 929dd23c2b65f..9f1f3652acaee 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -59,6 +59,7 @@ services: # If ENABLE_TELEMETRY is not set, telemetry will start by default ENABLE_TELEMETRY: ${ENABLE_TELEMETRY:-true} RW_TELEMETRY_TYPE: ${RW_TELEMETRY_TYPE:-"docker-compose"} + RW_SECRET_STORE_PRIVATE_KEY_HEX: ${RW_SECRET_STORE_PRIVATE_KEY_HEX:-0123456789abcdef} container_name: risingwave-standalone healthcheck: test: diff --git a/integration_tests/doris-sink/create_sink.sql b/integration_tests/doris-sink/create_sink.sql index 7cd1ac24857e9..d4702219fed09 100644 --- a/integration_tests/doris-sink/create_sink.sql +++ b/integration_tests/doris-sink/create_sink.sql @@ -1,3 +1,5 @@ +create secret doris_secret with (backend = 'meta') as '123456'; + CREATE SINK bhv_doris_sink FROM bhv_mv WITH ( @@ -5,7 +7,7 @@ FROM type = 'append-only', doris.url = 'http://fe:8030', doris.user = 'users', - doris.password = '123456', + doris.password = secret doris_secret, doris.database = 'demo', doris.table='demo_bhv_table', force_append_only='true' @@ -18,7 +20,7 @@ FROM type = 'upsert', doris.url = 'http://fe:8030', doris.user = 'users', - doris.password = '123456', + doris.password = secret doris_secret, doris.database = 'demo', doris.table='upsert_table', primary_key = 'user_id' diff --git a/integration_tests/mysql-cdc/create_source.sql b/integration_tests/mysql-cdc/create_source.sql index 3f5480ddaa219..5cb99bf4018a8 100644 --- a/integration_tests/mysql-cdc/create_source.sql +++ b/integration_tests/mysql-cdc/create_source.sql @@ -1,10 +1,11 @@ +create secret mysql_pwd with (backend = 'meta') as '123456'; create source mysql_mydb with ( connector = 'mysql-cdc', hostname = 'mysql', port = '3306', username = 'root', - password = '123456', + password = secret mysql_pwd, database.name = 'mydb', server.id = '2' ); @@ -27,4 +28,4 @@ CREATE TABLE lineitem_rw ( L_SHIPMODE VARCHAR, L_COMMENT VARCHAR, PRIMARY KEY(L_ORDERKEY, L_LINENUMBER) -) FROM mysql_mydb TABLE 'mydb.lineitem'; \ No newline at end of file +) FROM mysql_mydb TABLE 'mydb.lineitem'; diff --git a/integration_tests/postgres-cdc/create_source.sql b/integration_tests/postgres-cdc/create_source.sql index 7b24f5da75f34..b7c09694ed09d 100644 --- a/integration_tests/postgres-cdc/create_source.sql +++ b/integration_tests/postgres-cdc/create_source.sql @@ -1,3 +1,5 @@ +create secret postgres_pwd with (backend = 'meta') as '123456'; + create table person ( "id" int, "name" varchar, @@ -10,7 +12,7 @@ create table person ( hostname = 'postgres', port = '5432', username = 'myuser', - password = '123456', + password = secret postgres_pwd, database.name = 'mydb', schema.name = 'public', table.name = 'person', @@ -56,9 +58,9 @@ CREATE TABLE orders_rw ( hostname = 'postgres', port = '5432', username = 'myuser', - password = '123456', + password = secret postgres_pwd, database.name = 'mydb', schema.name = 'public', table.name = 'orders', slot.name = 'orders' -); \ No newline at end of file +); diff --git a/integration_tests/starrocks-sink/create_sink.sql b/integration_tests/starrocks-sink/create_sink.sql index 0e96e1f20789b..8d7ebf98dfb20 100644 --- a/integration_tests/starrocks-sink/create_sink.sql +++ b/integration_tests/starrocks-sink/create_sink.sql @@ -1,3 +1,5 @@ +create secret starrocks_secret with (backend = 'meta') as '123456'; + CREATE SINK bhv_starrocks_sink_primary FROM bhv_mv WITH ( @@ -7,7 +9,7 @@ FROM starrocks.mysqlport = '9030', starrocks.httpport = '8030', starrocks.user = 'users', - starrocks.password = '123456', + starrocks.password = secret starrocks_secret, starrocks.database = 'demo', starrocks.table = 'demo_primary_table', force_append_only='true' @@ -22,7 +24,7 @@ FROM starrocks.mysqlport = '9030', starrocks.httpport = '8030', starrocks.user = 'users', - starrocks.password = '123456', + starrocks.password = secret starrocks_secret, starrocks.database = 'demo', starrocks.table = 'demo_duplicate_table', force_append_only='true' @@ -37,7 +39,7 @@ FROM starrocks.mysqlport = '9030', starrocks.httpport = '8030', starrocks.user = 'users', - starrocks.password = '123456', + starrocks.password = secret starrocks_secret, starrocks.database = 'demo', starrocks.table = 'demo_aggregate_table', force_append_only='true' @@ -52,7 +54,7 @@ FROM starrocks.mysqlport = '9030', starrocks.httpport = '8030', starrocks.user = 'users', - starrocks.password = '123456', + starrocks.password = secret starrocks_secret, starrocks.database = 'demo', starrocks.table = 'demo_unique_table', force_append_only='true' @@ -67,7 +69,7 @@ FROM starrocks.mysqlport = '9030', starrocks.httpport = '8030', starrocks.user = 'users', - starrocks.password = '123456', + starrocks.password = secret starrocks_secret, starrocks.database = 'demo', starrocks.table = 'upsert_table', primary_key = 'user_id' @@ -82,7 +84,7 @@ FROM starrocks.mysqlport = '9030', starrocks.httpport = '8030', starrocks.user = 'users', - starrocks.password = '123456', + starrocks.password = secret starrocks_secret, starrocks.database = 'demo', starrocks.table = 'starrocks_types', force_append_only='true'