We use IAM in order to implement the authentication and access control on ElastiCache. For authentication, you can have the following identity type:
- Root user: It's a superuser that is created while setting up an AWS account. It has super administrator privileges for all the AWS services. However, it's not recommended to use the root user to access any of the services.
- IAM user: It's a user identity in your AWS account that will have a specific set of permissions for accessing the ElastiCache service.
- IAM role: We also can define an IAM role with a specific set of permissions and associate it with the services that want to access ElastiCache. It basically generates temporary access keys to use ElastiCache. ...