{{message-error model=model}} {{#each model.attrs as |attr|}} {{#if (eq attr.type "object")}} {{info-table-row label=(capitalize (or attr.options.label (humanize (dasherize attr.name)))) value=(stringify (get model attr.name))}} {{else}} {{info-table-row label=(capitalize (or attr.options.label (humanize (dasherize attr.name)))) value=(get model attr.name)}} {{/if}} {{/each}}
{{#copy-button clipboardText=model.toCreds class="button is-primary" buttonType="button" success=(action (set-flash-message "Credentials copied!")) }} Copy credentials {{/copy-button}}
{{#link-to "vault.cluster.secrets.backend.list-root" (query-params tab="certs") class="button" }} Back {{/link-to}}
{{#if (and (not model.revocationTime) model.canRevoke)}} {{#confirm-action buttonClasses="button" onConfirmAction=(action "delete") confirmMessage=(concat "Are you sure you want to revoke " model.id "?") cancelButtonText="Cancel" confirmButtonText="Revoke" }} Revoke {{/confirm-action}} {{/if}}