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

<div class="console-ui-output">
  <pre>
    Keys
    {{#each this.list as |item|}}
      {{item}}

    {{/each}}
  </pre>
  <Hds::Copy::Button
    @text="Copy"
    @isIconOnly={{true}}
    @textToCopy={{multi-line-join this.list}}
    @onError={{(fn (set-flash-message "Clipboard copy failed. The Clipboard API requires a secure context." "danger"))}}
    class="transparent icon-grey-500 top-right-absolute"
  />
</div>