Skip to content

Update Security Config

opensearchserviceserverless_update_security_config R Documentation

Updates a security configuration for OpenSearch Serverless

Description

Updates a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.

Usage

opensearchserviceserverless_update_security_config(clientToken,
  configVersion, description, id, samlOptions)

Arguments

clientToken

Unique, case-sensitive identifier to ensure idempotency of the request.

configVersion

[required] The version of the security configuration to be updated. You can find the most recent version of a security configuration using the get_security_policy command.

description

A description of the security configuration.

id

[required] The security configuration identifier. For SAML the ID will be ⁠saml/<accountId>/<idpProviderName>⁠. For example, saml/123456789123/OKTADev.

samlOptions

SAML options in in the form of a key-value map.

Value

A list with the following syntax:

list(
  securityConfigDetail = list(
    configVersion = "string",
    createdDate = 123,
    description = "string",
    id = "string",
    lastModifiedDate = 123,
    samlOptions = list(
      groupAttribute = "string",
      metadata = "string",
      sessionTimeout = 123,
      userAttribute = "string"
    ),
    type = "saml"
  )
)

Request syntax

svc$update_security_config(
  clientToken = "string",
  configVersion = "string",
  description = "string",
  id = "string",
  samlOptions = list(
    groupAttribute = "string",
    metadata = "string",
    sessionTimeout = 123,
    userAttribute = "string"
  )
)