You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Is there a way to have plan specific encryption for secret variables in Specs?
Currently, I can have a password variable in my build plan and export it as a Java spec and in the spec file it shows the encrypted text for the password. The problem is I or anyone who has access to the specs repo can copy that encrypted string out of that java spec and paste it into another spec file for a different build plan and that plan is able to decrypt it / use it. Which then allows me to echo that password into a text file as an artifact and then boom I have the password.
The encrypted output is the same cross build plans meaning if I encrypt "password1" it will be the same encrypted output in 2 different plans allowing anyone to copy that into their spec and use it. Is there a way to have plan specific encryption for secret variables?
Simon says:
` Short answer: no.
Long answer: Indeed, as you observed, Bamboo uses reversible encryption with no salt. The same plaintext will always transform in the same cyphertext. Bamboo is a single security domain, demarcated by the authentication mechanisms. Any body with valid credentials will be able to copy and use any cyphertext. This single security domain extends to the users that have access to Specs source code, which, if you store specs in a repository may extend to all repository (for example git).
Apparently this single security domain architecture is by design: https://jira.atlassian.com/browse/BAM-18932
Bamboo's current encryption feature should be regarded as a method of achieving obfuscation rather than a method of achieving confidentiality. '
Simon out.
Hi @Paul O'Brien ,
It is critical to isolate your Specs repository from users that you do not want them to access. If they have access to Bamboo Specs repository, they can certainly reuse the encrypted variables as you rightly understood.
I recommend you to introduce appropriate elevated permission to access this repository. This recommendation is also applicable for any plan configuration you do in the UI.
Hope that helps.
Cheers,
Jey
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.