
Answer-first summary for fast verification
Answer: Cache Secrets locally once a year., Cache Secrets locally many times a day.
The two practices that are **not** recommended for managing secrets are: 1. **Cache Secrets locally many times a day**: This practice increases the risk of exposure if the local machine is compromised. Secrets should be retrieved from a secure secret management solution as needed, rather than being cached locally. 2. **Cache Secrets locally once a year**: While caching secrets locally for a short period might be acceptable in certain scenarios, doing so for an entire year is not advisable. Secrets should be rotated regularly to minimize the risk of exposure. **Best practices** include: - **Using a separate solution or platform**: This isolates secrets from other sensitive data, reducing the risk of exposure. - **Rotating Secrets**: Regularly changing secrets is crucial to prevent unauthorized access.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.