Module: Turbopuffer::Models::Encryption

Extended by:
Internal::Type::Union
Defined in:
lib/turbopuffer/models/encryption.rb

Overview

The encryption configuration for a namespace.

Defined Under Namespace

Classes: CustomerManaged, Default

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

Instance Method Details

#initialize(key_name:, mode: :"customer-managed") ⇒ Object

Some parameter documentations has been truncated, see CustomerManaged for more details.

Encrypt the namespace with a customer-managed encryption key (CMEK).

Parameters:

  • key_name (String)

    The identifier of the CMEK key to use for encryption. For GCP, the fully-qualifi

  • mode (Symbol, :"customer-managed") (defaults to: :"customer-managed")


# File 'lib/turbopuffer/models/encryption.rb', line 28