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

<KvPageHeader @breadcrumbs={{@breadcrumbs}} @mountName={{@backend}}>
  <:tabLinks>
    <li><LinkTo @route="list" data-test-secrets-tab="Secrets">Secrets</LinkTo></li>
    <li><LinkTo @route="configuration" data-test-secrets-tab="Configuration">Configuration</LinkTo></li>
  </:tabLinks>
</KvPageHeader>

<div class="box is-fullwidth is-sideless is-paddingless is-marginless">
  {{#each-in @config as |key value|}}
    <InfoTableRow
      @alwaysRender={{true}}
      @formatTtl={{includes key (array "default_lease_ttl" "max_lease_ttl")}}
      @label={{this.label key}}
      @value={{this.value key value}}
    />
  {{/each-in}}
</div>