{ if (o) { formError = ""; focusFirstInput(); } }} > {isEditing ? "Edit" : "Add"} secret provider
{#if formError}
{formError}
{/if}
{@const TriggerIcon = getProviderIcon(formType)} {providerTypeLabel(formType)} {#each PROVIDER_TYPES as t (t.value)} {@const ItemIcon = getProviderIcon(t.value)} {t.label} {/each}
{#each fields as field (field.key)}
{#if field.hint}

{field.hint}

{/if}
{/each}
{#if formType === 'bitwarden' || formType === 'proton'}
{#if formType === 'bitwarden'}

Bitwarden Secrets Manager requires an externally installed or mounted official bws client at /usr/local/bin/bws (or an absolute DOCKHAND_BWS_PATH process override).

{:else}

Proton Pass requires an externally installed or mounted official pass-cli client at /usr/local/bin/pass-cli (or an absolute DOCKHAND_PASS_CLI_PATH process override). Supports both a bulk vault pull and inline pass:// references.

{/if}
{/if}

Configuration is stored encrypted.{#if isEditing} Leave secret fields blank to keep the existing values.{/if}