{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: BUSL-1.1
}}
{{@roleName}}
{{! If no role type, that means both static and dynamic requests returned an error }}
{{#unless @roleType}}
{{/unless}}
{{#if (and (not @model.errorMessage) (eq @roleType "dynamic"))}}
Warning
You will not be able to access these credentials later, so please copy them now.
{{/if}}
{{! DYNAMIC ROLE }}
{{#if (and (eq @roleType "dynamic") @model.username)}}
{{/if}}
{{! STATIC ROLE }}
{{#if (and (eq @roleType "static") @model.username)}}
{{/if}}