{#snippet card(row: RotationKeyRow, index: number)}
  • {row.key} {#if !readonly} {/if}
    {#if row.included} {label(row.source)} {#if row.addedAt} {formatAddedDate(row.addedAt)} {/if} {#if !readonly} {/if} {:else} Removed {label(row.source)} {/if}
  • {/snippet}
    {#if readonly} {#if shown.length === 0}

    No rotation keys to show.

    {:else}
      {#each shown as row, i (row.key)} {@render card(row, i)} {/each}
    {/if} {:else} {#if title}

    {title}

    {/if}

    Highest priority first. A key higher in the list can undo changes made by a key below it.

    {#if rows.length === 0}

    Your DID document lists no rotation keys yet.

    {:else}
      {#each rows as row, i (row.key)} {@render card(row, i)} {/each}
    {/if} {#if problem} {problem} {/if} {#if dropped}
    {label(dropped.source)} is removed. That PDS sends this change to the PLC directory and refuses to send a rotation key list without its own key, so submitting would fail and use up your emailed token. Keep its key for now; to stop relying on that PDS, add a key of your own above it.
    {/if}
    {selected.length} of {max} slots used {@render actions?.()}
    {#if sheetOpen} {/if} {/if}