{{! Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: BUSL-1.1 ~}}
{{#if (eq this.data.mode "secondary")}} {{/if}}
{{#if (eq this.data.mode "primary")}} {{#if @canEnablePrimary}}

Overrides the cluster address that the primary gives to secondary nodes.

{{else}}

The token you are using is not authorized to enable primary replication.

{{/if}} {{else}} {{#if @canEnableSecondary}} {{#if (and (eq @replicationMode "dr") this.performanceReplicationEnabled (has-feature "Performance Replication"))}}
{{#if this.showExplanation}}

When running as a DR Secondary Vault is read only. For this reason, we don't allow other Replication modes to operate at the same time. This cluster is also currently operating as a Performance {{capitalize @performanceMode}}.

{{/if}}
{{else}}