{{#if (eq mode "create") }} Create secret {{else if (and isV2 (eq mode 'edit'))}} Create new version {{else if (eq mode 'edit')}} Edit secret {{else}} {{key.id}} {{/if}}

{{#unless (and (eq mode 'show') isWriteWithoutRead)}} JSON {{/unless}} {{#if (and (eq @mode "show") this.isV2 (not @model.failedServerRead))}} History
{{/if}} {{#if (and (eq mode 'show') canDelete)}} Delete secret {{/if}} {{#if (and (eq mode 'show') (or canEditV2Secret canEdit))}} {{#let (concat 'vault.cluster.secrets.backend.' (if (eq mode 'show') 'edit' 'show')) as |targetRoute|}} {{#unless (and isV2 (or isWriteWithoutRead modelForData.destroyed modelForData.deleted))}} Copy secret {{/unless}} {{#if isV2}} Create new version {{else}} Edit secret {{/if}} {{/let}} {{/if}} {{partial partialName}}