Which technique is most suitable for managing secrets used by Python automation (API keys, tokens) in Google Cloud environments?

Answer

Use environment variables populated at runtime from a secret manager service and avoid printing secrets

Explanation

Central secret management plus runtime injection reduces exposure and prevents accidental leakage through logs or code distribution.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list