Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

requested changes

Danielc005c3665bd0
diff --git a/backend/src/ee/services/dynamic-secret/providers/aws-memorydb.ts b/backend/src/ee/services/dynamic-secret/providers/aws-memorydb.ts
index 2f46e60b04..af3781c394 100644
--- a/backend/src/ee/services/dynamic-secret/providers/aws-memorydb.ts
+++ b/backend/src/ee/services/dynamic-secret/providers/aws-memorydb.ts
@@ -59,7 +59,7 @@ const MemoryDbUserManager = (credentials: TBasicAWSCredentials, region: string)
if (!cluster) {
throw new BadRequestError({ message: `MemoryDB cluster ${clusterName} not found` });
}
- if (!cluster.ACLName) {
+ if (!cluster.ACLName || cluster.ACLName === "open-access") {
throw new BadRequestError({
message: `MemoryDB cluster ${clusterName} has no ACL attached. Attach an ACL to the cluster before using it for dynamic secrets.`
});
diff --git a/docs/documentation/platform/dynamic-secrets/aws-memorydb.mdx b/docs/documentation/platform/dynamic-secrets/aws-memorydb.mdx
index 576b64f041..8a1b9e8b97 100644
--- a/docs/documentation/platform/dynamic-secrets/aws-memorydb.mdx
+++ b/docs/documentation/platform/dynamic-secrets/aws-memorydb.mdx
@@ -10,7 +10,7 @@ The Infisical AWS MemoryDB dynamic secret generates short-lived MemoryDB users (
## Prerequisites
1. A MemoryDB cluster with an ACL attached. If your cluster is still on the default `open-access` ACL, attach a real ACL before configuring the dynamic secret — Infisical will refuse to add users to a cluster with no ACL.
-2. An AWS IAM user (or assumed role) for Infisical to use, with an access key ID and secret access key. Attach the following policy:
+2. An AWS IAM user for Infisical to use, with an access key ID and secret access key. Attach the following policy:
```json
{
@@ -95,7 +95,7 @@ A few notes on the policy:
</Step>
<Step title="(Optional) Modify MemoryDB Statements">
![Modify MemoryDB Statements](/images/platform/dynamic-secrets/aws-memorydb/modify-memorydb-statement.png)
- {/* TODO: add screenshot of the expanded "Modify MemoryDB Statements" accordion */}
+
<DynamicSecretUsernameTemplateParamField />