We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b73e13 commit fb2ada9Copy full SHA for fb2ada9
src/aws_encryption_sdk/keyrings/aws_kms/__init__.py
@@ -106,7 +106,7 @@ def __attrs_post_init__(self):
106
raise TypeError("is_discovery cannot be True if key IDs are provided")
107
108
if neither:
109
- raise TypeError("No key IDs provided")
+ raise TypeError("is_discovery cannot be False if no key IDs are provided")
110
111
if self._is_discovery:
112
self._inner_keyring = _AwsKmsDiscoveryKeyring(
0 commit comments