ElastiCache Redis
Learn how to add ElastiCache Redis as a resource in StrongDM.
Overview
This guide describes how to add ElastiCache Redis as a datasource in StrongDM using either standard authentication with username and password or AWS IAM authentication.
When the resource is added, StrongDM proxies client connections through a node (gateway, relay, or proxy cluster). This enables centralized access control, credential management, and audit logging. StrongDM supports standard Redis clients and drivers that use the Redis wire protocol.
Use this guide to complete all necessary preparations to add this resource to your StrongDM environment; input the correct properties in the Admin UI, CLI, SDKs, or Terraform provider; and test for a successful connection.
For general information about how to add a database as a resource in StrongDM, see our main guide, Add a Datasource.
Supported Versions and Clients
StrongDM supports AWS ElastiCache for Redis deployments. This includes AWS-managed clusters, as long as installation allows Redis client connectivity via standard ports (for example, 6379). StrongDM is compatible with all standard Redis clients, including:
CLI tools (
redis-cli)SDKs and libraries (
redis-py, Jedis, Node Redis)GUI tools like RedisInsight or connection features in IDEs such as DataGrip
Prerequisites
To add your resource in StrongDM, you need to meet several technical and configuration prerequisites. Please ensure that the following requirements are met.
In StrongDM, you must have the following:
Administrator permission level
At least one operational StrongDM node (gateway, relay, or proxy cluster) with network access to the Redis endpoint
If using secrets management tools for storing your database credentials, a Secret Store configured in StrongDM
On the ElastiCache Redis side, you must have the following:
Properly configured ElastiCache Redis instance or cluster accessible from your StrongDM node
If authentication is enforced (for example, AUTH token), have a Redis username/token or a Secret Store setup ready
Network configuration (VPC, subnets, security groups) that allows inbound connections from your node to the Redis endpoint
If using AWS IAM authentication, on the AWS side, you must have the following:
An EC2 instance or similar compute node running your StrongDM node (gateway, relay, or proxy cluster), with an attached IAM role that has permissions to access ElastiCache Redis using IAM authentication.
The Redis cache (cluster) endpoint must be reachable from the EC2 instance.
The IAM role should grant the necessary permissions, typically including the following. These permissions allow StrongDM to generate IAM authentication tokens and perform resource health checks.
elasticache:Connectsts:AssumeRole(if you configure a role for StrongDM to assume)
Appropriate role assumption configuration (if used).
If your environment uses an AssumeRole flow, you must configure a target role that trusts the EC2 instance's IAM role.
If required by your security policies, include an External ID in the trust relationship.
Resource Management in StrongDM
After all prerequisites and prep work is done, you are ready to add the resource to StrongDM. This section provides instructions for adding the resource in either the StrongDM Admin UI, CLI, Terraform provider, or SDKs.
Set up and Manage With the Admin UI
If using the Admin UI to add Druid as a resource to StrongDM, use the following steps.
Log in to the StrongDM Admin UI.
Go to Resources > Managed Resources.
Click Add Resource.
For Resource Type, select ElastiCache Redis or ElastiCache Redis (IAM).
Complete all required configuration properties for your selected datasource type.
Click Create to save the resource.
Click the resource name to view status, diagnostic information, and setting details.
Set up and Manage With the CLI
This section provides an example of how to add the resource using the StrongDM CLI. For more information and examples, please see the CLI Reference documentation.
Set up and Manage With Terraform
This section provides an example of how to configure and manage the resource using the Terraform provider. For more information and examples, please see the Terraform provider documentation.
Set up and manage with SDKs
In addition to the Admin UI, CLI, and Terraform, you may configure and manage your resource with any of the following SDK options: Go, Java, Python, and Ruby. Please see the following references for more information and examples.
Configuration Properties
The following configuration properties are required to define an ElastiCache Redis datasource in StrongDM. These settings control how StrongDM connects to the database, authenticates the connection, and optionally uses encryption or secret management. Each property must be correctly configured to ensure connectivity and access enforcement through StrongDM.
Secret Store options
By default, datasource credentials are stored in StrongDM. However, these credentials can also be saved in a secrets management tool.
Non-StrongDM options appear in the Secret Store dropdown if they are created under Network > Secret Stores. When you select another Secret Store type, its unique properties display. For more details, see Configure Secret Store Integrations.
Resource status
After a resource is created, the Admin UI displays that resource as unhealthy until the healthchecks run successfully. When the resource is ready, the Health icon indicates a positive, green status.
When the resource does not display a positive status, click the resource name to go to the Diagnostics tab and check for errors.
Test the Connection
After you have added your resource in StrongDM, follow these steps to verify that it’s working correctly.
Assign yourself access by ensuring that your user or role has access to the resource. In the StrongDM Admin UI, go to Access > Roles, and verify that the resource is attached to a role you’re in.
In the CLI, run
sdm statusto list the available datasources. Ensure that the resource appears in your list of accessible datasources.Start a session to the resource, as in the following example:
Connect using the Redis CLI:
If AUTH is required:
Then run:
In the StrongDM Admin UI, check Logs > Queries (and Logs > Connections) to confirm that the session and audit logs were captured.
When these steps succeed, you’re ready to connect to your resource through StrongDM.
Help
If you encounter issues, please consult the StrongDM Help Center.
Be prepared to provide the following information to StrongDM Support, so that they can inspect logs and confirm node and resource health:
Resource name or ID
CLI error output or logs
Node name and region
Last updated
Was this helpful?

