Class KmsAccessDeniedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
io.confluent.kafka.schemaregistry.encryption.tink.KmsAccessDeniedException
All Implemented Interfaces:
Serializable

public class KmsAccessDeniedException extends GeneralSecurityException
Indicates that a KMS operation failed because the caller is not authenticated or lacks the permissions required to use the configured key (i.e. the KMS returned a 401 or 403). This is a caller/configuration problem rather than a server error, so it should surface as a 4xx response.
See Also:
  • Constructor Details

    • KmsAccessDeniedException

      public KmsAccessDeniedException(String message)
    • KmsAccessDeniedException

      public KmsAccessDeniedException(String message, Throwable cause)