Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Hiding/obfuscating variables in manual bitbucket pipeline run

Hello,

Variables were recently allowed to be set in manual pipeline runs.

https://confluence.atlassian.com/bitbucket/variables-in-pipelines-794502608.html#Variablesinpipelines-customvars

The article says that secure variables manually set in the pipeline will not be hidden. Is there an initiative to allow the hiding of variables in manually run pipelines?

Tx,

Ryan

1 answer

0 votes

Hi @ryanbannon

As you already know this is not an available feature. The only option I see for you regarding credentials is temporarily updating them in the Bitbucket Repository configuration >> Repository variables before running the manual build.

I've opened an improvement request for this in order to track interest in this feature:

Please let me know If I can still be of any help on this topic.

Where is this?  We have run into this issue and makes us question the viability of Atlassian Bitbucket as a robust CI/CD tool as it is exposing secure credentials for our production environments.  Please advise on masking input variables over top the repository variables.  Manually change the repo variables for builds is not a good solution. 

I also don't see the verbiage stating manually set variables in the pipeline will not be masked.   In fact the docs states:  "Pipelines masks all occurrences of a secure variable's value in your log files, regardless of how that output was generated."

and

"If you have secure variable value set to a common word, that word will be replaced with the variable name anywhere it appears in the log file."

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

120 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you