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
Show copy button again
Fang-Pen Lind7274e7e6374
diff --git a/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/RevealAcmeEabSecretModal.tsx b/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/RevealAcmeEabSecretModal.tsxindex 84163633fe..55442e7ba4 100644--- a/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/RevealAcmeEabSecretModal.tsx+++ b/frontend/src/pages/cert-manager/PoliciesPage/components/CertificateProfilesTab/RevealAcmeEabSecretModal.tsx@@ -14,6 +14,8 @@ import { useRevealAcmeEabSecret } from "@app/hooks/api/certificateProfiles/queriimport { faCheck, faCopy } from "@fortawesome/free-solid-svg-icons";import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";+const RESET_COPIED_DELAY = 1 * 1000;+type Props = {isOpen: boolean;onClose: () => void;@@ -67,6 +69,9 @@ export const RevealAcmeEabSecretModal = ({ isOpen, onClose, profile }: Props) =>onClick={() => {navigator.clipboard.writeText(directoryUrl);setIsAcmeDirectoryUrlCopied.on();+ setTimeout(() => {+ setIsAcmeDirectoryUrlCopied.off();+ }, RESET_COPIED_DELAY);}}className="w-10">@@ -88,6 +93,9 @@ export const RevealAcmeEabSecretModal = ({ isOpen, onClose, profile }: Props) =>onClick={() => {navigator.clipboard.writeText(eabKid);setIsEabKidCopied.on();+ setTimeout(() => {+ setIsEabKidCopied.off();+ }, RESET_COPIED_DELAY);}}className="w-10">@@ -109,6 +117,9 @@ export const RevealAcmeEabSecretModal = ({ isOpen, onClose, profile }: Props) =>onClick={() => {navigator.clipboard.writeText(eabSecret);setIsEabSecretCopied.on();+ setTimeout(() => {+ setIsEabSecretCopied.off();+ }, RESET_COPIED_DELAY);}}className="w-10">