Class: Anthropic::Models::Beta::Organization::BetaExternalKey
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaExternalKey
- Defined in:
- lib/anthropic/models/beta/organization/beta_external_key.rb,
sig/anthropic/models/beta/organization/beta_external_key.rbs
Overview
Defined Under Namespace
Modules: Attachment, ProviderConfig
Instance Attribute Summary collapse
-
#attachment ⇒ Anthropic::Models::Beta::Organization::BetaExternalKeyAttachedAttachment, Anthropic::Models::Beta::Organization::BetaExternalKeyUnattachedAttachment
Whether any workspace uses this config to encrypt its data — counting live and archived workspaces (an archived workspace's data remains encrypted under the config), excluding deleted ones.
- #created_at ⇒ Time
-
#display_name ⇒ String?
Human-friendly display name.
-
#geo ⇒ String
Data residency geo.
-
#id ⇒ String
Identifier of the external key config.
-
#provider_config ⇒ Anthropic::Models::Beta::Organization::BetaAWSExternalKeyConfig, ...
KMS provider identity and auth coordinates.
- #type ⇒ Symbol, :external_key
- #updated_at ⇒ Time
Instance Method Summary collapse
-
#initialize(id:, attachment:, created_at:, display_name:, geo:, provider_config:, updated_at:, type: :external_key) ⇒ Object
constructor
CMEK external key config belonging to the caller's organization.
- #to_hash ⇒ {
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(id:, attachment:, created_at:, display_name:, geo:, provider_config:, updated_at:, type: :external_key) ⇒ Object
CMEK external key config belonging to the caller's organization.
Configs are organization-scoped. Workspaces attach to a config; once any workspace references it, the provider fields become effectively immutable (existing encrypted data needs the config for decrypt).
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaExternalKey for more details.
|
|
# File 'lib/anthropic/models/beta/organization/beta_external_key.rb', line 59
|
Instance Attribute Details
#attachment ⇒ Anthropic::Models::Beta::Organization::BetaExternalKeyAttachedAttachment, Anthropic::Models::Beta::Organization::BetaExternalKeyUnattachedAttachment
Whether any workspace uses this config to encrypt its data — counting live and
archived workspaces (an archived workspace's data remains encrypted under the
config), excluding deleted ones. Only an attached config is used by the
encryption path; an unattached config is inert and can be deleted.
23 |
# File 'lib/anthropic/models/beta/organization/beta_external_key.rb', line 23 required :attachment, union: -> { Anthropic::Beta::Organization::BetaExternalKey::Attachment } |
#created_at ⇒ Time
28 |
# File 'lib/anthropic/models/beta/organization/beta_external_key.rb', line 28 required :created_at, Time |
#display_name ⇒ String?
Human-friendly display name. Null if none was set.
34 |
# File 'lib/anthropic/models/beta/organization/beta_external_key.rb', line 34 required :display_name, String, nil?: true |
#geo ⇒ String
Data residency geo. Selects which regional validator handles this key's encrypt/decrypt roundtrips.
41 |
# File 'lib/anthropic/models/beta/organization/beta_external_key.rb', line 41 required :geo, String |
#id ⇒ String
Identifier of the external key config. A tagged ID prefixed ekey_, or — for
organizations on the Claude Platform on AWS — the AWS KMS key ARN.
14 |
# File 'lib/anthropic/models/beta/organization/beta_external_key.rb', line 14 required :id, String |
#provider_config ⇒ Anthropic::Models::Beta::Organization::BetaAWSExternalKeyConfig, ...
KMS provider identity and auth coordinates.
47 |
# File 'lib/anthropic/models/beta/organization/beta_external_key.rb', line 47 required :provider_config, union: -> { Anthropic::Beta::Organization::BetaExternalKey::ProviderConfig } |
#type ⇒ Symbol, :external_key
52 |
# File 'lib/anthropic/models/beta/organization/beta_external_key.rb', line 52 required :type, const: :external_key |
#updated_at ⇒ Time
57 |
# File 'lib/anthropic/models/beta/organization/beta_external_key.rb', line 57 required :updated_at, Time |
Instance Method Details
#to_hash ⇒ {
45 |
# File 'sig/anthropic/models/beta/organization/beta_external_key.rbs', line 45
def to_hash: -> {
|