Skip to content

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

minor tweaks

Andreyd7d8a041fc3b
diff --git a/backend/src/ee/services/pam-account/pam-account-schemas.ts b/backend/src/ee/services/pam-account/pam-account-schemas.ts
index 7e60eb1d3f..ae247358f4 100644
--- a/backend/src/ee/services/pam-account/pam-account-schemas.ts
+++ b/backend/src/ee/services/pam-account/pam-account-schemas.ts
@@ -164,7 +164,7 @@ export const ACCOUNT_TYPE_CONFIGS = {
widget: PamFieldWidget.Textarea,
showWhen: { field: "sslEnabled", equals: true },
tooltip:
- "The CA certificate used to verify the server. Amazon RDS and Aurora publish theirs at https://truststore.pki.rds.amazonaws.com."
+ "The CA certificate used to verify the server. Amazon RDS and Aurora publish one per region, e.g. https://truststore.pki.rds.amazonaws.com/us-east-1/us-east-1-bundle.pem"
},
password: { widget: PamFieldWidget.Password, secret: true }
}
diff --git a/docs/documentation/platform/pam/accounts/postgresql.mdx b/docs/documentation/platform/pam/accounts/postgresql.mdx
index fec43c2920..091fa04353 100644
--- a/docs/documentation/platform/pam/accounts/postgresql.mdx
+++ b/docs/documentation/platform/pam/accounts/postgresql.mdx
@@ -51,6 +51,9 @@ RDS and Aurora instances that require IAM database authentication use the **AWS
Set the following up before creating the account.
<Steps>
+ <Step title="Enable IAM authentication on the instance">
+ Turn on **IAM database authentication** for the RDS instance or Aurora cluster.
+ </Step>
<Step title="Grant the database user IAM access">
```sql
CREATE USER app_user WITH LOGIN;
@@ -83,9 +86,13 @@ Set the following up before creating the account.
</Note>
<Note>
- IAM authentication requires an encrypted connection, so **SSL Enabled** is turned on and cannot be disabled. To verify the server certificate, turn on **Reject Unauthorized** and paste your region's certificate from the [RDS trust store](https://truststore.pki.rds.amazonaws.com) into **SSL Certificate**.
+ IAM authentication requires an encrypted connection, so **SSL Enabled** is turned on and cannot be disabled. To verify the server certificate, turn on **Reject Unauthorized** and paste your region's RDS root certificate into **SSL Certificate**, for example `https://truststore.pki.rds.amazonaws.com/us-east-1/us-east-1-bundle.pem`.
</Note>
+<Warning>
+ `PAM authentication failed for user` means AWS rejected the token rather than the database being unreachable. Check that the role's `rds-db:connect` resource ARN uses the instance's current resource ID, region, and the same database user the account connects as.
+</Warning>
+
[Credential rotation](/documentation/platform/pam/product-reference/credential-rotation/overview) does not apply to these accounts, since there is no stored password.
## Connecting
diff --git a/frontend/src/pages/pam/PamAccountsPage/components/RotationTab.tsx b/frontend/src/pages/pam/PamAccountsPage/components/RotationTab.tsx
index e13e100f4c..da13b2c84b 100644
--- a/frontend/src/pages/pam/PamAccountsPage/components/RotationTab.tsx
+++ b/frontend/src/pages/pam/PamAccountsPage/components/RotationTab.tsx
@@ -176,10 +176,8 @@ export const RotationTab = ({ accountId, supportsDependencies, onDirtyChange }:
await updateRotation.mutateAsync({ accountId, rotationAccountId: data.rotationAccountId });
createNotification({ type: "success", text: "Rotation account updated" });
reset(data);
- } catch (err) {
- const message = (err as { response?: { data?: { message?: string } } })?.response?.data
- ?.message;
- createNotification({ type: "error", text: message ?? "Failed to update rotation account" });
+ } catch {
+ // A failed update returns a 4xx that the global request handler surfaces as a toast
}
};