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

{{if this.credentials "Credentials" "Generate credentials"}}

{{#if this.credentials}}
Warning You won't be able to access these credentials later, so please copy them now.
{{else}}

This will generate credentials using the role {{@roleName}}.

{{#if this.error}} {{/if}}
The namespace in which to generate the credentials.

ClusterRoleBinding

Generate a ClusterRoleBinding to grant permissions across the whole cluster instead of within a namespace. This requires the Vault role to have kubernetes_role_type set to ClusterRole.
{{/if}}