Consider the following pipeline snippet ($GCR_PASS is a secured repository variable):
- echo $GCR_PASS > keyfile.json
- gcloud auth activate-service-account --key-file=keyfile.json
Is there a need to remove the keyfile.json at the end of pipeline? Or can I assume that this file will not be accessible again by any means?
Thank you.