Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::SecretDirectorySetting Struct Reference

Public Types

using RETURN_TYPE = string

Static Public Member Functions

static void SetGlobal (DatabaseInstance *db, DBConfig &config, const Value &parameter)
static void ResetGlobal (DatabaseInstance *db, DBConfig &config)
static Value GetSetting (const ClientContext &context)

Static Public Attributes

static constexpr const char * Name = "secret_directory"
static constexpr const char * Description = "Set the directory to which persistent secrets are stored"
static constexpr const char * InputType = "VARCHAR"

Member Function Documentation

◆ SetGlobal()

void duckdb::SecretDirectorySetting::SetGlobal ( DatabaseInstance * db,
DBConfig & config,
const Value & parameter )
static
302869 {
302870 config.secret_manager->SetPersistentSecretPath(input.ToString());
302871}
unique_ptr< SecretManager > secret_manager
Secret manager.
Definition duckdb.hpp:40084

◆ ResetGlobal()

void duckdb::SecretDirectorySetting::ResetGlobal ( DatabaseInstance * db,
DBConfig & config )
static
302873 {
302874 config.secret_manager->ResetPersistentSecretPath();
302875}

◆ GetSetting()

Value duckdb::SecretDirectorySetting::GetSetting ( const ClientContext & context)
static
302877 {
302878 auto &config = DBConfig::GetConfig(context);
302879 return config.secret_manager->PersistentSecretPath();
302880}

The documentation for this struct was generated from the following file: