{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-opensearch/refs/heads/main/json-schema/openapi-master-user-options-schema.json",
"title": "MasterUserOptions",
"description": "Credentials for the master user: username and password, ARN, or both.",
"type": "object",
"properties": {
"MasterUserARN": {
"allOf": [
{
"$ref": "#/components/schemas/ARN"
},
{
"description": "ARN for the master user (if IAM is enabled)."
}
]
},
"MasterUserName": {
"allOf": [
{
"$ref": "#/components/schemas/Username"
},
{
"description": "The master user's username, which is stored in the Amazon Elasticsearch Service domain's internal database."
}
]
},
"MasterUserPassword": {
"allOf": [
{
"$ref": "#/components/schemas/Password"
},
{
"description": "The master user's password, which is stored in the Amazon Elasticsearch Service domain's internal database."
}
]
}
}
}