5.8 Ensure Authentication and Access Control is Enabled
Description
Individual creates IAM roles that would give specific permission to what the user can and cannot do within that database. The Access Control List (ACLs) allows only specific individuals to access the resources.
Rationale
N/A
Impact
Use specific client's applications or tools that allow the authorized personnel to connect to the database.
Choose the Keyspace (database) for which you want to implement authentication and access control.
Click on the Keyspace name to access its details page.
Enable IAM for Cassandra
In the Keyspace details page, click on the Configuration tab.
Under the Authentication and access control section, locate the "IAM for Cassandra" option.
Click on Edit.
Select the Enable option to enable IAM for Cassandra authentication and authorization.
Choose the IAM role(s) that can access the Keyspace.
Click Save to enable IAM for Cassandra.
Define IAM Roles and Permissions
Open the IAM console by navigating to Identity and Access Management (IAM) in the AWS Management Console.
Create IAM roles with appropriate policies defining the desired access level to your Amazon Keyspaces resources.
You may create different roles for different user groups or applications.
Ensure that the IAM policies associated with these roles allow the necessary permissions for interacting with Keyspaces.
Attach the IAM roles to the appropriate AWS identities, such as IAM users or AWS Identity and Access Management roles.
Review and Update Access Control
In the Keyspace details page, click on the Configuration tab.
Under the Authentication and access control section, click on Access Control Lists (ACLs).
Review the ACLs to define fine-grained access control at the table and row level.
Define rules that allow or deny access based on specific conditions, such as IP addresses or IAM roles.
Ensure that the ACL rules align with your security requirements and restrict access to sensitive data if necessary.
Update the ACLs as needed to accommodate changes.
Verify Authentication and Access Control
Test the authentication and access control mechanisms using client applications or tools that connect to your Amazon Keyspaces resources.
Verify that only authorized users or applications can access the Keyspaces resources based on the defined IAM roles and ACL rules.
Monitor the access logs and perform periodic reviews to ensure the authentication and access control measures function as intended.
Expected Result
IAM authentication is enabled for ElastiCache/Keyspaces, IAM roles have least-privilege access, and ACLs are properly configured to restrict access to authorized users only.
Remediation
Using AWS Console
Follow the same steps as the audit procedure to enable authentication and configure access control for ElastiCache clusters.
Default Value
By default, IAM for Cassandra authentication is not enabled and ACLs are not configured.
14.6 Protect Information through Access Control Lists
x
x
x
Profile
Level 1 | Manual
1---2name: cis-aws-database-5-83description: Ensure Authentication and Access Control is Enabled4---56# 5.8 Ensure Authentication and Access Control is Enabled78## Description910Individual creates IAM roles that would give specific permission to what the user can and cannot do within that database. The Access Control List (ACLs) allows only specific individuals to access the resources.1112## Rationale1314N/A1516## Impact1718Use specific client's applications or tools that allow the authorized personnel to connect to the database.1920## Audit Procedure2122### Using AWS Console23241. Sign in to the AWS Management Console25 - Sign in to the AWS Management Console at https://console.aws.amazon.com/ with your AWS account credentials.26272. Open the Amazon Keyspaces Console28 - Navigate to the service using the `Find Services` search bar or by directly accessing the console at https://console.aws.amazon.com/keyspaces/.29303. Select the Keyspace31 - Choose the Keyspace (database) for which you want to implement authentication and access control.32 - Click on the Keyspace name to access its details page.33344. Enable IAM for Cassandra35 - In the Keyspace details page, click on the `Configuration` tab.36 - Under the `Authentication and access control` section, locate the "IAM for Cassandra" option.37 - Click on `Edit`.38 - Select the `Enable` option to enable IAM for Cassandra authentication and authorization.39 - Choose the IAM role(s) that can access the Keyspace.40 - Click `Save` to enable IAM for Cassandra.41425. Define IAM Roles and Permissions43 - Open the IAM console by navigating to `Identity and Access Management (IAM)` in the AWS Management Console.44 - Create IAM roles with appropriate policies defining the desired access level to your Amazon Keyspaces resources.45 - You may create different roles for different user groups or applications.46 - Ensure that the IAM policies associated with these roles allow the necessary permissions for interacting with Keyspaces.47 - Attach the IAM roles to the appropriate AWS identities, such as IAM users or AWS Identity and Access Management roles.48496. Review and Update Access Control50 - In the Keyspace details page, click on the `Configuration` tab.51 - Under the `Authentication and access control` section, click on `Access Control Lists` (ACLs).52 - Review the ACLs to define fine-grained access control at the table and row level.53 - Define rules that allow or deny access based on specific conditions, such as IP addresses or IAM roles.54 - Ensure that the ACL rules align with your security requirements and restrict access to sensitive data if necessary.55 - Update the ACLs as needed to accommodate changes.56577. Verify Authentication and Access Control58 - Test the authentication and access control mechanisms using client applications or tools that connect to your Amazon Keyspaces resources.59 - Verify that only authorized users or applications can access the Keyspaces resources based on the defined IAM roles and ACL rules.60 - Monitor the access logs and perform periodic reviews to ensure the authentication and access control measures function as intended.6162## Expected Result6364IAM authentication is enabled for ElastiCache/Keyspaces, IAM roles have least-privilege access, and ACLs are properly configured to restrict access to authorized users only.6566## Remediation6768### Using AWS Console6970Follow the same steps as the audit procedure to enable authentication and configure access control for ElastiCache clusters.7172## Default Value7374By default, IAM for Cassandra authentication is not enabled and ACLs are not configured.7576## References77781. https://aws.amazon.com/products/databases/7980## CIS Controls8182| Controls Version | Control | IG 1 | IG 2 | IG 3 |83| ---------------- | ----------------------------------------------------- | ---- | ---- | ---- |84| v8 | 3.3 Configure Data Access Control Lists | x | x | x |85| v7 | 14.6 Protect Information through Access Control Lists | x | x | x |8687## Profile8889Level 1 | Manual
Run npx skillmds@latest add cyberstrikeus/cis-aws-database-5-8 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Ensure Authentication and Access Control is Enabled It is listed under DevOps & Infra on SkillMD.
SkillMD's automated safety review verdict for this skill is PASS. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
cyberstrikeus (@cyberstrikeus) published this skill. Their other Agent Skills are listed on their SkillMD profile.