This commit introduces TLS encryption support for vector store connections. A new configuration option is added: - vector_store_encryption_options.truststore: path to the trust store file To enable secure connections, use the https:// scheme in the vector_store_primary_uri/vector_store_secondary_uri configuration options. Fixes: VECTOR-327
24 lines
385 B
C++
24 lines
385 B
C++
/*
|
|
* Copyright (C) 2025-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
|
|
*/
|
|
|
|
#pragma once
|
|
#include <seastar/core/sstring.hh>
|
|
#include <cstdint>
|
|
|
|
namespace vector_search {
|
|
|
|
struct uri {
|
|
enum class schema_type { http, https };
|
|
|
|
schema_type schema;
|
|
seastar::sstring host;
|
|
std::uint16_t port;
|
|
};
|
|
|
|
} // namespace vector_search
|