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::AllowPersistentSecretsSetting Struct Reference

Public Types

using RETURN_TYPE = bool

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 = "allow_persistent_secrets"
static constexpr const char * Description
static constexpr const char * InputType = "BOOLEAN"

Member Function Documentation

◆ SetGlobal()

void duckdb::AllowPersistentSecretsSetting::SetGlobal ( DatabaseInstance * db,
DBConfig & config,
const Value & parameter )
static
301478 {
301479 auto value = input.DefaultCastAs(LogicalType::BOOLEAN);
301480 config.secret_manager->SetEnablePersistentSecrets(value.GetValue<bool>());
301481}
unique_ptr< SecretManager > secret_manager
Secret manager.
Definition duckdb.hpp:40084

◆ ResetGlobal()

void duckdb::AllowPersistentSecretsSetting::ResetGlobal ( DatabaseInstance * db,
DBConfig & config )
static
301483 {
301484 config.secret_manager->ResetEnablePersistentSecrets();
301485}

◆ GetSetting()

Value duckdb::AllowPersistentSecretsSetting::GetSetting ( const ClientContext & context)
static
301487 {
301488 auto &config = DBConfig::GetConfig(context);
301489 return Value::BOOLEAN(config.secret_manager->PersistentSecretsEnabled());
301490}
static DUCKDB_API Value BOOLEAN(bool value)
Create a boolean Value from a specified value.
Definition duckdb.cpp:132118

Member Data Documentation

◆ Description

const char* duckdb::AllowPersistentSecretsSetting::Description
staticconstexpr
Initial value:
=
"Allow the creation of persistent secrets, that are stored and loaded on restarts"

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