Description
Neptune IAM authentication checks data requests signed with AWS Signature Version 4 (SigV4) against IAM policies. StorageEncrypted protects data at rest.
Potential impact
Without IAM authentication, a client that can reach the cluster may be able to read or change data it does not need.
Remediation
Configure SigV4 signing on the clients and grant the required neptune-db: data actions. Management API permissions are separate. Schedule the switch to IamAuthEnabled: true for a maintenance window because it restarts the engine and closes existing connections. Restrict network paths and security groups to the clients that need them.
Examples
Both excerpts encrypt stored data. Configure DB instances, subnets and security groups separately. After the change, verify that permitted data requests succeed and unauthorized requests are denied.
Before
Resources:
NeptuneDBCluster:
Type: AWS::Neptune::DBCluster
Properties:
IamAuthEnabled: false
StorageEncrypted: true
After
Resources:
NeptuneDBCluster:
Type: AWS::Neptune::DBCluster
Properties:
IamAuthEnabled: true
StorageEncrypted: true