-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aws: unify errors returned to client
This commit changes the errors returned to the KES client when KES fails to create, get or delete a master key for some (unexpected) reason. Before this commit, the KES server returned errors that happened between KES and AWS Secrets Manager to the client. This had two downsides: - The client could become aware of what KMS/key store the KES server is using. - The client may encounter AWS-specific error messages. Now, the KES server returns always the same Bad Gateway error with a generic error message indicating that the communication between the KES server and its KMS failed for some reason. This behavior is already implemented by the Gemalto KeySecure integration.
- Loading branch information
1 parent
4a60cd5
commit 1bd93ff
Showing
1 changed file
with
21 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters