HCP Vault Radar can scan for secrets and determine if they are active or inactive.
Once the secret is no longer active, the recommendation is to remove it from the source code.
On this page: