Skip to content

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

Address PR comments

Carlos Monastyrski111c6b0ad71f
diff --git a/frontend/src/components/pki-syncs/forms/PkiSyncOptionsFields/PkiSyncOptionsFields.tsx b/frontend/src/components/pki-syncs/forms/PkiSyncOptionsFields/PkiSyncOptionsFields.tsx
index 2b46591fbf..284cc22311 100644
--- a/frontend/src/components/pki-syncs/forms/PkiSyncOptionsFields/PkiSyncOptionsFields.tsx
+++ b/frontend/src/components/pki-syncs/forms/PkiSyncOptionsFields/PkiSyncOptionsFields.tsx
@@ -447,9 +447,10 @@ export const PkiSyncOptionsFields = ({ destination }: Props) => {
</li>
</ul>
<span className="mt-1 text-xs text-bunker-300">
- The schema must include <code>{"{{certificateId}}"}</code> to guarantee a unique
- name per certificate. Characters not allowed by the destination (e.g. dots in a
- common name for Azure Key Vault) are automatically replaced with hyphens.
+ The schema must include <code>{"{{certificateId}}"}</code> so each certificate
+ gets a unique name. The template itself can only contain letters, numbers, and
+ the separators allowed by the destination. When placeholders resolve, any
+ characters the destination doesn&apos;t support are replaced with hyphens.
</span>
</div>
{syncOption?.forbiddenCharacters && syncOption.forbiddenCharacters.length > 0 && (
@@ -473,7 +474,7 @@ export const PkiSyncOptionsFields = ({ destination }: Props) => {
>
<Input
value={value || ""}
- onChange={(e) => onChange(e.target.value || undefined)}
+ onChange={(e) => onChange(e.target.value)}
placeholder={
syncOption?.defaultCertificateNameSchema || "INFISICAL_{{certificateId}}"
}