Secret
onSecretChange?.(e.detail)} bind:checked={variable.is_secret} disabled={unsecureNeedsLoad || (edit && (!actingUser || actingUser.operator || isEncryptedDraftValue(variable.value)))} /> {#if unsecureNeedsLoad && can_write && !actingUser?.operator} Load the secret value or enter a new one to make it non-secret {/if}
{#if variable.is_secret} Every secret is encrypted at rest and in transit with a key specific to this workspace. In addition, any read of a secret variable generates an audit log whose operation name is: variables.decrypt_secret {/if}
{#if deployTo} {/if}
{#if isEncryptedDraftValue(variable.value)} (variable.value = '')} /> {:else}
{#snippet children({ item })} {/snippet} {#if editorKind == 'plain'} {:else if editorKind == 'json'}
{#await import('$lib/components/SimpleEditor.svelte')} {:then Module} {/await}
{:else if editorKind == 'yaml'}
{#await import('$lib/components/SimpleEditor.svelte')} {:then Module} {/await}
{/if}
{/if}