From 64a6157950524850877062e611bc639f90ee32a6 Mon Sep 17 00:00:00 2001 From: Alex Chew Date: Tue, 23 Nov 2021 14:42:40 -0800 Subject: [PATCH] Update examples/kms_discovery.cpp Co-authored-by: June Blender --- examples/kms_discovery.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/kms_discovery.cpp b/examples/kms_discovery.cpp index 711038150..51be835af 100644 --- a/examples/kms_discovery.cpp +++ b/examples/kms_discovery.cpp @@ -201,9 +201,9 @@ int main(int argc, char **argv) { .WithKmsClient(create_kms_client(Aws::Region::EU_CENTRAL_1)) .BuildDiscovery()); - /* This will only attempt to decrypt using keys in the specified AWS account. + /* This will attempt to decrypt using only KMS keys in the specified AWS account. * It will succeed if the message was encrypted with any KMS key in the - * specified AWS account and for which you have Decrypt permissions. + * specified AWS account and for which you have kms:Decrypt permission. */ const Aws::String filter_account_id = parsed_arn_us_west_2.GetAccountId(); std::shared_ptr discovery_filter =