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

<Page::Secret::Edit
  @secret={{this.model.newVersion}}
  @previousVersion={{this.model.secret.version}}
  @currentVersion={{this.model.metadata.currentVersion}}
  @breadcrumbs={{this.breadcrumbs}}
  @noReadAccess={{eq this.model.secret.failReadErrorCode 403}}
/>