{{! template-lint-configure simple-unless "warn" }} {{#unless (and (eq @mode "show") @isWriteWithoutRead)}} JSON {{/unless}} {{#if (eq @mode "show")}} {{/if}} {{#if (and (eq @mode "show") @canUpdateSecretData)}} {{#unless (and @isV2 (or @isWriteWithoutRead @modelForData.destroyed @modelForData.deleted))}} Copy {{/unless}} {{/if}} {{#if (and (eq @mode "show") @isV2 (not @model.failedServerRead))}} {{/if}} {{#if (and (eq @mode "show") @canUpdateSecretData)}} {{#let (concat "vault.cluster.secrets.backend." (if (eq @mode "show") "edit" "show")) as |targetRoute|}} {{#if @isV2}} Create new version {{else}} Edit secret {{/if}} {{/let}} {{/if}}