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

<Page::Header @title="Create Key">
  <:breadcrumbs>
    <Page::Breadcrumbs
      @breadcrumbs={{array
        (hash label="Vault" route="vault.cluster.dashboard" icon="vault")
        (hash label="Keys" route="vault.cluster.access.oidc.keys")
        (hash label="Create Key")
      }}
    />
  </:breadcrumbs>
</Page::Header>

<Oidc::KeyForm
  @model={{this.model}}
  @onCancel={{transition-to "vault.cluster.access.oidc.keys"}}
  @onSave={{transition-to "vault.cluster.access.oidc.keys.key.details" this.model.name}}
/>