{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-glue/json-schema/aws-glue-get-data-catalog-encryption-settings-response-schema.json",
  "title": "GetDataCatalogEncryptionSettingsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-glue-aws-glue-x-amz-target-awsglue-getdatacatalogencryptionsetti-api-openapi.yml#/components/schemas/GetDataCatalogEncryptionSettingsResponse",
  "type": "object",
  "properties": {
    "DataCatalogEncryptionSettings": {
      "$ref": "#/$defs/DataCatalogEncryptionSettings"
    }
  },
  "$defs": {
    "ConnectionPasswordEncryption": {
      "type": "object",
      "properties": {
        "ReturnConnectionPasswordEncrypted": {
          "type": "boolean",
          "description": "When the ReturnConnectionPasswordEncrypted flag is set to \"true\", passwords remain encrypted in the responses of GetConnection and GetConnections. This encryption takes effect independently from catalog encryption."
        },
        "AwsKmsKeyId": {
          "type": "string",
          "description": "An KMS key that is used to encrypt the connection password. If connection password protection is enabled, the caller of CreateConnection and UpdateConnection needs at least kms:Encrypt permission on the specified KMS key, to encrypt passwords before storing them in the Data Catalog. You can set the decrypt permission to enable or restrict access on the password key according to your security requirements."
        }
      },
      "required": [
        "ReturnConnectionPasswordEncrypted"
      ]
    },
    "DataCatalogEncryptionSettings": {
      "type": "object",
      "properties": {
        "EncryptionAtRest": {
          "$ref": "#/$defs/EncryptionAtRest"
        },
        "ConnectionPasswordEncryption": {
          "$ref": "#/$defs/ConnectionPasswordEncryption"
        }
      }
    },
    "EncryptionAtRest": {
      "type": "object",
      "properties": {
        "CatalogEncryptionMode": {
          "type": "string",
          "enum": [
            "DISABLED",
            "SSE-KMS",
            "SSE-KMS-WITH-SERVICE-ROLE"
          ],
          "description": "The encryption-at-rest mode for encrypting Data Catalog data."
        },
        "SseAwsKmsKeyId": {
          "type": "string",
          "description": "The ID of the KMS key to use for encryption at rest."
        },
        "CatalogEncryptionServiceRole": {
          "type": "string",
          "description": "The role that Glue assumes to encrypt and decrypt the Data Catalog objects on the caller's behalf."
        }
      },
      "required": [
        "CatalogEncryptionMode"
      ]
    }
  }
}