Interface ConnectionPasswordEncryption.Builder

  • Method Details

    • returnConnectionPasswordEncrypted

      ConnectionPasswordEncryption.Builder returnConnectionPasswordEncrypted(Boolean returnConnectionPasswordEncrypted)

      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.

      Parameters:
      returnConnectionPasswordEncrypted - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • awsKmsKeyId

      ConnectionPasswordEncryption.Builder awsKmsKeyId(String awsKmsKeyId)

      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.

      Parameters:
      awsKmsKeyId - 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.