Merge pull request #3876 from Infisical/ENG-2977

feat(secret-sync): Allow custom field label on 1pass sync
This commit is contained in:
x032205
2025-06-30 23:36:22 -04:00
committed by GitHub
12 changed files with 167 additions and 55 deletions
@@ -7,8 +7,13 @@ type Props = {
export const OnePassSyncDestinationSection = ({ secretSync }: Props) => {
const {
destinationConfig: { vaultId }
destinationConfig: { vaultId, valueLabel }
} = secretSync;
return <GenericFieldLabel label="Vault ID">{vaultId}</GenericFieldLabel>;
return (
<>
<GenericFieldLabel label="Vault ID">{vaultId}</GenericFieldLabel>
<GenericFieldLabel label="Value Key">{valueLabel || "value"}</GenericFieldLabel>
</>
);
};