A credential that got expired can be moved to the archive. It will not be displayed in the primary list, but the archive can be accessed via a button that we will add to the menu on the top right.
The backend will move credentials to the archive via a cron job when the exp is hit. To do this efficiently, we should store the exp value in a separate column allowing us to filter for this and then mark it with a flag archived.
For now we will give the user not the feature to manually move credentials to archive, because technically it should not be possible to move them back to active. A credential that got expired should never be presented to a verifier.
A credential that got expired can be moved to the archive. It will not be displayed in the primary list, but the archive can be accessed via a button that we will add to the menu on the top right.
The backend will move credentials to the archive via a cron job when the exp is hit. To do this efficiently, we should store the exp value in a separate column allowing us to filter for this and then mark it with a flag
archived
.For now we will give the user not the feature to manually move credentials to archive, because technically it should not be possible to move them back to active. A credential that got expired should never be presented to a verifier.