1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
Have a look at the Javadoc: it states clearly that some methods are not thead safe.
This method is inherently not thread safe. Use withGrantTokens(List) or
KmsMasterKey.setGrantTokens(List) instead. KmsMasterKeyProviders constructed using
the builder will throw an exception on attempts to modify the list of grant tokens.
So, you should avoid this (deprecated) method to become thread safe.
Best,
Didier
Relevant content
- Accepted Answerasked a year ago
- Accepted Answerasked 5 years ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 months ago