{#if edit} {$i18n.t("Edit Terminal Connection")} {:else} {$i18n.t("Add Terminal Connection")} {/if}

{#if !direct}
{/if}
{#if serverType === "orchestrator" && !direct}
{$i18n.t("Policy ID")}
{$i18n.t("Image")} ({$i18n.t("optional")})
{$i18n.t("CPU")}
{$i18n.t("Memory")}
{$i18n.t("Storage")}
{#if policyStorage === "persistent"}
{/if}
{$i18n.t("Idle Timeout")} ({$i18n.t("min")})
{$i18n.t("Environment Variables")}
{#each policyEnvPairs as pair, idx}
{/each}
{/if}
{#if !direct} {/if}
{#if showAdvanced}
{$i18n.t("OpenAPI Spec")}
{$i18n.t( `rexpro will make requests to "{{url}}"`, { url: path.includes("://") ? path : `${url}${path.startsWith("/") ? "" : "/"}${path}`, }, )}
{/if}
{$i18n.t("Auth")}
{#if auth_type === "bearer"} {:else if auth_type === "none"}
{$i18n.t("No authentication")}
{:else if auth_type === "session"}
{$i18n.t( "Forwards system user session credentials to authenticate", )}
{:else if auth_type === "system_oauth"}
{$i18n.t( "Forwards system user OAuth access token to authenticate", )}
{/if}
{#if edit} {/if}
{ onDelete(); show = false; }} />