Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
remove unused var for rotation
Maidul Islam4e6642663a5e
diff --git a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsxindex ca17af0c78..b89fff5ed2 100644--- a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx+++ b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx@@ -187,9 +187,6 @@ export const PamResourceAccountsSection = ({ resource }: Props) => {)}{accounts.map((account) => {const isAwsIamAccount = resource.resourceType === PamResourceType.AwsIam;- const rotationEnabled = !isAwsIamAccount- ? (account as { rotationEnabled?: boolean }).rotationEnabled- : undefined;const rotationStatus = !isAwsIamAccount? (account as { rotationStatus?: string | null }).rotationStatus: undefined;