@if (editing && detailStatus(); as status) { {{ "status" | i18n }}: {{ status.badge.labelKey | i18n }} } @if (editing && detailStatus() && activeTab() !== "history") { @if (isManual()) { } @else if (canRotateNow()) { } @if (!isManual()) { @if (!canRotateNow()) { } @if (!config()?.enabled) { } @else if (canPause()) { } } @if (menuHasLeadItems()) { } @if (config()?.hasActiveJob) { } @else { } } @if (editing) { {{ "pamRotationConfigTabConfiguration" | i18n }} {{ "pamRotationConfigTabHistory" | i18n }} }
@if (loadError()) { } @else if (loading()) { } @else if (!editing) {

{{ "pamRotationConfigCreateHeading" | i18n }}

{{ "pamRotationConfigCredentialName" | i18n }} @for (cipher of availableCiphers(); track cipher.id) { } {{ "pamRotationConfigCredentialHint" | i18n }} {{ "pamRotationConfigTargetSystem" | i18n }} @for (option of targetOptions(); track option.id) { } @if (!hasActiveTargetSystems()) { {{ "pamRotationConfigNoActiveTargetSystems" | i18n }} } @else { {{ "pamRotationConfigTargetSystemHint" | i18n }} } @if (selectedTargetIsManual()) { {{ "pamRotationConfigCalloutTargetManual" | i18n }} } @else if (selectedTargetNotConnected()) { {{ "pamRotationConfigCalloutTargetNotConnected" | i18n }} }
{{ "pamRotationConfigAccountId" | i18n }} {{ "pamRotationConfigUsernameHint" | i18n }}

{{ "pamRotationConfigTriggersHeading" | i18n }}

{{ "pamRotationConfigRotateOnAccessEnd" | i18n }} {{ "pamRotationConfigRotateOnAccessEndHintAdd" | i18n }} @if (selectedTargetIsManual()) { {{ "pamRotationConfigAutomaticOnly" | i18n }} }

{{ "pamRotationConfigAfterRotationHeading" | i18n }}

{{ "pamRotationConfigEndSessions" | i18n }} {{ (terminateSessionsUnknown() ? "pamRotationConfigTerminationUnknownHint" : "pamRotationConfigEndSessionsHint" ) | i18n }} @if (terminateSessionsReasonKey(); as reasonKey) { {{ reasonKey | i18n }} }
} @else { @if (existingConfig(); as detail) {
@if (callout(); as calloutState) {
@switch (calloutState.kind) { @case ("paused") { {{ "pamRotationDetailCalloutPaused" | i18n }} } @case ("retrying") { {{ "pamRotationDetailCalloutRetrying" | i18n }} } @case ("no-connector") { {{ "pamRotationDetailCalloutNoConnector" | i18n }} } @case ("disconnected") { {{ "pamRotationDetailCalloutDisconnected" | i18n }} } @case ("timed-out") { {{ timedOutParts().before }}{{ "pamRotationConfigRotateNow" | i18n }}{{ timedOutParts().after }} } @case ("due") { {{ "pamRotationDetailCalloutDue" | i18n: dueAgeText() }} } }
} @switch (activeTab()) { @case ("history") { } @default { @if (configSealUnverified()) { {{ "pamRotationConfigIntegrityCheckFailedContent" | i18n }} }

{{ "pamRotationConfigCreateHeading" | i18n }}

{{ "pamRotationConfigVaultItem" | i18n }}

{{ vaultItemName() }}

{{ "sharedFolder" | i18n }}

{{ sharedFolderNames().length > 0 ? sharedFolderNames().join(", ") : ("pamRotationDetailNone" | i18n) }}

{{ "pamRotationConfigTargetSystem" | i18n }}

{{ detail.config.targetSystemName }}

@if (showConnectors()) {

{{ "pamRotationDetailConnectorsLabel" | i18n }}

@if (connectorItems().length > 0) {
    @for (connector of connectorItems(); track connector.id) {
  • {{ connector.name }} {{ (connector.connected ? "pamAccessConnectorConnected" : "pamAccessConnectorDisconnected" ) | i18n }}
  • }

{{ "pamRotationDetailConnectorsHint" | i18n }}

} @else {

{{ "pamRotationDetailNone" | i18n }}

}
}
{{ "username" | i18n }} {{ usernameHintKey() | i18n }}

{{ "pamRotationConfigTriggersHeading" | i18n }}

{{ "pamRotationConfigColumnLastRotated" | i18n }}

{{ lastRotatedText() }}

{{ "pamRotationConfigColumnNextRotation" | i18n }}

{{ nextRotationText() }}

{{ "pamRotationConfigRotateOnAccessEnd" | i18n }} {{ "pamRotationConfigRotateOnAccessEndHintAdd" | i18n }}

{{ "pamRotationConfigAfterRotationHeading" | i18n }}

{{ "pamRotationConfigEndSessions" | i18n }} {{ "pamRotationConfigEndSessionsHint" | i18n }}
} }
} }