February 2020
Intermediate to advanced
440 pages
13h 51m
English
Now, let's try using the key as a user with the administrator permission from account 2. Follow these steps:
aws kms encrypt \ --plaintext "hello 4" \ --key-id arn:aws:kms:us-east-1:135301570106:key/d791248f-c742-4ed9-a081-cfa314dd6903 \ --profile awschild1admin
We should see the following response:

In the next section, we will use the key as a non-admin user from account 2.
Read now
Unlock full access