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

<Page::Header @title="Edit Role">
  <:breadcrumbs>
    <KmipBreadcrumb @scope={{this.model.scopeName}} @role={{this.model.roleName}} @currentRoute="Edit Role" />
  </:breadcrumbs>
</Page::Header>

<RoleForm
  @form={{this.model.form}}
  @roleName={{this.model.roleName}}
  @scopeName={{this.model.scopeName}}
  @onSave={{transition-to "vault.cluster.secrets.backend.kmip.role" this.model.scopeName this.model.roleName}}
  @onCancel={{transition-to "vault.cluster.secrets.backend.kmip.role" this.model.scopeName this.model.roleName}}
/>