Transferring this issue from googleapis/python-secret-manager#55
This issue is related to the samples for secretmanager here.
The test project has +2000 secrets due to testing that need to be cleaned up. Tests should be reviewed for proper clean up.
https://cloud.google.com/secret-manager/docs/creating-and-managing-expiring-secrets adds a feature to set a TTL on the Secret resource which schedules the secret for deletion.
Another alternative is a test case that just lists and deletes secrets older a predefined duration.
The issue is several years old, although there are still a large number of secrets (>400) that could be cleaned up during testing.
Transferring this issue from googleapis/python-secret-manager#55
This issue is related to the samples for secretmanager here.
The issue is several years old, although there are still a large number of secrets (>400) that could be cleaned up during testing.