How to encrypt and decrypt a secret file in the Google Cloud Platform
Let’s save our credentials in a safe way in GCP
Sometimes we need to store some credential files in the source code repository. For security issues, we should not store plaintext credential files but should encrypt them properly and store the encrypted ones instead. When the credential files are needed in some applications, we can then decrypt them to plaintext files again.