Prerequisites
- Create a Redis Connection with the required Secret Rotation permissions
- Ensure your network security policies allow incoming requests from Infisical to this rotation provider, if network restrictions apply.
-
Navigate to your Secret Manager Project’s Dashboard and select Add Secret Rotation from the actions dropdown.
-
Select the Redis Credentials option.
-
Select the Redis Connection to use and configure the rotation behavior. Then click Next.
- Redis Connection - the connection that will perform the rotation of the configured database user credentials.
- Rotation Interval - the interval, in days, that once elapsed will trigger a rotation.
- Rotate At - the local time of day when rotation should occur once the interval has elapsed.
- Auto-Rotation Enabled - whether secrets should automatically be rotated once the rotation interval has elapsed. Disable this option to manually rotate secrets or pause secret rotation.
-
Input the password requirements and permission scope for the Redis users that will be created for the rotation. Then click Next.
- Permission Scope - The scope of the Redis users that will be created for the rotation. This will default to
~* +@all
if not specified. - Password Requirements - The requirements for the password of the Redis users that will be created for the rotation.
- Permission Scope - The scope of the Redis users that will be created for the rotation. This will default to
-
Specify the secret names that the active credentials should be mapped to. Then click Next.
- Username - the name of the secret that the active username will be mapped to.
- Password - the name of the secret that the active password will be mapped to.
-
Give your rotation a name and description (optional). Then click Next.
- Name - the name of the secret rotation configuration. Must be slug-friendly.
- Description (optional) - a description of this rotation configuration.
-
Review your configuration, then click Create Secret Rotation.
-
Your Redis Credentials are now available for use via the mapped secrets.