{{!
  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 root")}}
  <Toolbar />
{{/if}}

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