{{!
  Copyright (c) HashiCorp, Inc.
  SPDX-License-Identifier: BUSL-1.1
~}}

<PageHeader as |p|>
  <p.top>
    <Hds::Breadcrumb data-test-breadcrumbs>
      <Hds::Breadcrumb::Item @text="Auth Methods" @route="vault.cluster.access.methods" />
      <Hds::Breadcrumb::Item @text={{this.model.id}} @route="vault.cluster.access.method" @model={{this.model.id}} />
      <Hds::Breadcrumb::Item @text="Configure" @current={{true}} />
    </Hds::Breadcrumb>
  </p.top>
  <p.levelLeft>
    <h1 class="title is-3">
      Configure
      {{get (find-by "type" this.model.type (mountable-auth-methods)) "displayName"}}
    </h1>
  </p.levelLeft>
</PageHeader>

<SectionTabs @model={{this.model}} />

<Toolbar>
  <ToolbarActions>
    <ToolbarLink @route="vault.cluster.access.method" @model={{this.model.id}} data-test-backend-view-link>
      View method
    </ToolbarLink>
  </ToolbarActions>
</Toolbar>

{{outlet}}