What default encryption at rest actually protects against
Why this falls short of UU PDP security duties
Key ownership models, from least to most control
| Model | Who holds the key material | Who writes the access policy | Can you cut off access yourself |
|---|---|---|---|
| Provider-owned default key | Provider, often not visible in your account | Provider | No |
| Provider-managed key visible in your account | Provider KMS | Mostly provider, limited visibility | Usually no |
| Customer-managed key in provider KMS | Provider KMS or HSM | You, through the key policy | Yes, by disabling the key or editing the policy |
| External key store or your own HSM | You, outside the provider | You | Yes, and the provider loses access too |
| Application-level or client-side encryption | Your application or key service | You | Yes, and the provider only ever stores ciphertext |
Checking your own setup
BASH
# Which encryption does a bucket use?
aws s3api get-bucket-encryption --bucket my-customer-uploads
# Which KMS key do RDS instances use?
aws rds describe-db-instances --query 'DBInstances[].[DBInstanceIdentifier,StorageEncrypted,KmsKeyId]' --output table
# Who manages that key, where does the key material come from, and which region is it in?
aws kms describe-key --key-id 'arn:aws:kms:REGION:ACCOUNT:key/KEY-ID' --query 'KeyMetadata.[KeyManager,Origin,KeyState,Arn]'AES256, it uses keys managed entirely by S3, and you will not find them in KMS at all. If it reports aws:kms, follow the key ID. On the key itself, KeyManager tells you whether the provider (AWS) or you (CUSTOMER) manage it. Origin tells you whether the provider generated the key material or it came from outside. The region is part of the ARN, so check that it matches where you claim the data is processed.
Illustrative output format:
TEXT
[
"CUSTOMER",
"AWS_KMS",
"Enabled",
"arn:aws:kms:REGION:123456789012:key/EXAMPLE-KEY-ID"
]BASH
aws kms get-key-policy --key-id 'KEY-ID' --policy-name default --output text
aws kms list-grants --key-id 'KEY-ID'kms:Decrypt. A broad statement that hands the whole account root full key access means IAM policies decide everything. In that case you also have to audit every IAM role that has KMS permissions. Then confirm that decrypt calls are being recorded. On AWS, CloudTrail logs KMS operations such as Decrypt and GenerateDataKey. That only helps if the trail is enabled, the logs are retained, and someone actually reviews them.
If you also need to prove that data and keys stay in Indonesia, that is a separate exercise, covered in verifying data residency step by step.
What a defensible setup usually looks like
- Key administrators can rotate, disable, or edit the key but cannot decrypt with it.
- Key users are the application roles that need to decrypt and nothing else.
