Files
email-tracker/external/duckdb/test/sql/secrets/secret_compatibility_http.test
2025-10-24 19:21:19 -05:00

16 lines
907 B
SQL

# name: test/sql/secrets/secret_compatibility_http.test
# description: Test secret compatibility across versions
# group: [secrets]
require-env TEST_PERSISTENT_SECRETS_AVAILABLE
# Ensure any currently stored secrets don't interfere with the test
statement ok
set secret_directory='./data/secrets/http'
query IIIIIII
from duckdb_secrets();
----
http_v_1_1_0 http config true local_file [] name=http_v_1_1_0;type=http;provider=config;serializable=true;scope;extra_http_headers={Authorization=Bearer sk_test_VePHdqKTYQjKNInc7u56JBrQ}
http_v_1_1_2 http config true local_file [] name=http_v_1_1_2;type=http;provider=config;serializable=true;scope;extra_http_headers={Authorization=Bearer sk_test_VePHdqKTYQjKNInc7u56JBrQ}
http_v_1_1_3 http config true local_file [] name=http_v_1_1_3;type=http;provider=config;serializable=true;scope;extra_http_headers={Authorization=Bearer sk_test_VePHdqKTYQjKNInc7u56JBrQ}