{{#if create }} {{title 'New Key/Value'}} {{else}} {{title 'Edit Key/Value'}} {{/if}} {{partial 'dc/kv/notifications'}}
  1. Key / Values
  2. {{#if (not-eq parent.Key '/')}} {{#each (slice 0 -1 (split parent.Key '/')) as |breadcrumb index|}}
  3. {{breadcrumb}}
  4. {{/each}} {{/if}}

{{#if item.Key}} {{left-trim item.Key parent.Key}} {{else}} New Key / Value {{/if}}

{{#if session}}

Warning. This KV has a lock session. You can edit KV's with lock sessions, but we recommend doing so with care, or not doing so at all. It may negatively impact the active node it's associated with. See below for more details on the Lock Session and see our documentation for more information.

{{/if}} {{partial 'dc/kv/form'}} {{#if session}}

Lock Session

Name
{{session.Name}}
Agent
{{session.Node}}
ID
{{session.ID}}
Behavior
{{session.Behavior}}
{{#if session.Delay }}
Delay
{{session.LockDelay}}
{{/if}} {{#if session.TTL }}
TTL
{{session.TTL}}
{{/if}} {{#if (gt session.Checks.length 0)}}
Health Checks
{{ join ', ' session.Checks}}
{{/if}}

{{message}}

{{/if}}