Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access Bamboo secret/password variable?

My team has some old bamboo pipelines, where secret and password are configured in bamboo variables and bamboo masks these values with ***** nobody knows the passwords now and it has not been documented.

Is there any way to access/print and see the values in bamboo [secret/password] variable?

like image 247
Shruthi Bhaskar Avatar asked Jan 06 '20 06:01

Shruthi Bhaskar


1 Answers

There's a trick to read secret variables:

Create a Script task with content

echo ${bamboo_password_variable} > text.txt

Add artifact definition for *.txt pattern for a Job

Run build and look at text.txt artifact content.

like image 134
Oleksiy Chystoprudov Avatar answered Oct 29 '22 16:10

Oleksiy Chystoprudov