Class: Anthropic::Models::Beta::Organization::BetaAzureExternalKeyConfig

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/organization/beta_azure_external_key_config.rb,
sig/anthropic/models/beta/organization/beta_azure_external_key_config.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

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

Methods included from Internal::Util::SorbetRuntimeSupport

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

Constructor Details

#initialize(key_name:, tenant_id:, vault_uri:, client_id: nil, type: :azure) ⇒ Object

Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaAzureExternalKeyConfig for more details.

Parameters:

  • key_name (String)

    Name of the key within the vault.

  • tenant_id (String)

    Azure AD tenant ID.

  • vault_uri (String)

    Key Vault data-plane URI — https://{vault-name}.vault.azure.net or `https://{h

  • client_id (String, nil) (defaults to: nil)

    Azure AD application (client) ID. Omit to use Anthropic's multitenant app. Provi

  • type (Symbol, :azure) (defaults to: :azure)


# File 'lib/anthropic/models/beta/organization/beta_azure_external_key_config.rb', line 40

Instance Attribute Details

#client_idString?

Azure AD application (client) ID. Omit to use Anthropic's multitenant app. Provide only if using a single-tenant app registration in the customer's directory.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


38
# File 'lib/anthropic/models/beta/organization/beta_azure_external_key_config.rb', line 38

optional :client_id, String, nil?: true

#key_nameString

Name of the key within the vault.

Parameters:

  • value (String)

Returns:

  • (String)


12
# File 'lib/anthropic/models/beta/organization/beta_azure_external_key_config.rb', line 12

required :key_name, String

#tenant_idString

Azure AD tenant ID.

Parameters:

  • value (String)

Returns:

  • (String)


18
# File 'lib/anthropic/models/beta/organization/beta_azure_external_key_config.rb', line 18

required :tenant_id, String

#typeSymbol, :azure

Parameters:

  • value (:azure)

Returns:

  • (Symbol, :azure)


23
# File 'lib/anthropic/models/beta/organization/beta_azure_external_key_config.rb', line 23

required :type, const: :azure

#vault_uriString

Key Vault data-plane URI — https://{vault-name}.vault.azure.net or https://{hsm-name}.managedhsm.azure.net.

Parameters:

  • value (String)

Returns:

  • (String)


30
# File 'lib/anthropic/models/beta/organization/beta_azure_external_key_config.rb', line 30

required :vault_uri, String

Instance Method Details

#to_hash{

Returns:

  • ({)


33
# File 'sig/anthropic/models/beta/organization/beta_azure_external_key_config.rbs', line 33

def to_hash: -> {