{{!
  Copyright IBM Corp. 2016, 2025
  SPDX-License-Identifier: BUSL-1.1
}}

<Page::Header @title={{this.title}}>
  <:breadcrumbs>
    <Page::Breadcrumbs @breadcrumbs={{@breadcrumbs}} />
  </:breadcrumbs>
</Page::Header>

{{#if (eq this.title "View Generated CSR")}}
  <Toolbar />
{{/if}}

<PkiGenerateCsr
  @onCancel={{transition-to "vault.cluster.secrets.backend.pki.issuers.index"}}
  @onSave={{fn (mut this.title) "View Generated CSR"}}
  @onComplete={{transition-to "vault.cluster.secrets.backend.pki.issuers.index"}}
/>