{{! Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: BUSL-1.1 }} {{#unless this.flags.secretsSyncIsActivated}} {{#if this.version.hasSecretsSync}} {{#unless this.hideOptIn}} {{! Allows users to dismiss activation banner if they have permissions to activate. }} Enable Secrets Sync feature To use this feature, specific activation is required. {{if @canActivateSecretsSync "Please review the feature documentation and enable it. If you're upgrading from beta, your previous data will be accessible after activation." "Please contact your administrator to activate." }} {{#if @canActivateSecretsSync}} {{/if}} {{/unless}} {{/if}} {{/unless}} {{#if this.activationErrors}} {{#unless this.hideError}} {{/unless}} {{/if}} {{#if @destinations}}
Create new destination <:content> {{#if this.fetchAssociationsForDestinations.isRunning}}
Loading destinations...
{{else if (not this.destinationMetrics)}} {{else}} <:head as |H|> Sync destination # of external secrets Last updated Actions <:body as |B|> {{#each this.destinationMetrics as |data index|}} {{data.name}} {{#if data.status}} {{/if}} {{data.associationCount}} {{#if data.lastUpdated}} {{date-format data.lastUpdated "MMMM do yyyy, h:mm:ss a"}} {{else}} — {{/if}} Sync secrets View synced secrets {{/each}} {{/if}}
<:action> <:content>

{{or @destinations.length "None"}}

<:action> <:content>

{{or @totalVaultSecrets "None"}}

{{else}} {{/if}} {{#if this.showActivateSecretsSyncModal}} {{/if}}