PreviousNext

Purging Expired Entries

The rgy_edit purge subcommand deletes expired entries from the local registry. When the rgy_edt purge command is run, the command deletes all entries whose lifespan attribute value indicates are expired.

In the preceding example, we reset the local registry's lifespan attribute value to 12w. With the lifespan set to 12w, the following rgy_edt purge command deletes all local registry entries (account and TGT) that are older than 12 weeks.

rgy_edit=> purge
1 account entries purged
1 TGT entries purged