Class: Aws::OpenSearchService::Types::AdvancedSecurityOptionsInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb

Overview

Note:

When making an API call, you may pass AdvancedSecurityOptionsInput data as a hash:

{
  enabled: false,
  internal_user_database_enabled: false,
  master_user_options: {
    master_user_arn: "ARN",
    master_user_name: "Username",
    master_user_password: "Password",
  },
  saml_options: {
    enabled: false,
    idp: {
      metadata_content: "SAMLMetadata", # required
      entity_id: "SAMLEntityId", # required
    },
    master_user_name: "Username",
    master_backend_role: "BackendRole",
    subject_key: "String",
    roles_key: "String",
    session_timeout_minutes: 1,
  },
}

The advanced security configuration: whether advanced security is enabled, whether the internal database option is enabled, master username and password (if internal database is enabled), and master user ARN (if IAM is enabled).

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

True if advanced security is enabled.

Returns:

  • (Boolean)


282
283
284
285
286
287
288
289
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 282

class AdvancedSecurityOptionsInput < Struct.new(
  :enabled,
  :internal_user_database_enabled,
  :master_user_options,
  :saml_options)
  SENSITIVE = []
  include Aws::Structure
end

#internal_user_database_enabledBoolean

True if the internal user database is enabled.

Returns:

  • (Boolean)


282
283
284
285
286
287
288
289
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 282

class AdvancedSecurityOptionsInput < Struct.new(
  :enabled,
  :internal_user_database_enabled,
  :master_user_options,
  :saml_options)
  SENSITIVE = []
  include Aws::Structure
end

#master_user_optionsTypes::MasterUserOptions

Credentials for the master user: username and password, ARN, or both.



282
283
284
285
286
287
288
289
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 282

class AdvancedSecurityOptionsInput < Struct.new(
  :enabled,
  :internal_user_database_enabled,
  :master_user_options,
  :saml_options)
  SENSITIVE = []
  include Aws::Structure
end

#saml_optionsTypes::SAMLOptionsInput

The SAML application configuration for the domain.



282
283
284
285
286
287
288
289
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 282

class AdvancedSecurityOptionsInput < Struct.new(
  :enabled,
  :internal_user_database_enabled,
  :master_user_options,
  :saml_options)
  SENSITIVE = []
  include Aws::Structure
end