{{! Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: BUSL-1.1 }}
{{if (eq @item.id " ") "(self)" (or @item.keyWithoutParent @item.id)}} {{#if this.keyTypeValue}} {{/if}}
{{#if @item.canEdit}} Edit connection {{/if}} {{#if @item.canEditRole}} Edit Role {{/if}} {{#if @item.canReset}} Reset connection {{/if}} {{#if (and (eq @item.type "dynamic") @item.canGenerateCredentials)}} Generate credentials {{else if (and (eq @item.type "static") @item.canGetCredentials)}} Get credentials {{/if}} {{#if (and @item.canRotateRoleCredentials (eq this.keyTypeValue "static"))}} Rotate credentials {{/if}} {{#if @item.canRotateRoot}} Rotate root credentials {{/if}}