Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a need to remove secret files created during pipeline?

yuyao.lui
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 6, 2020

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.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events