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.
We have converted over to using Bamboo Specs and have some users complaining that the .credentials file which is needed to run the Java files is in plain text (even though it is only local).
Is there a way to use a more secure method other than a plain text file?
Hi Jason,
You could try the UserPasswordCredentials interface:
String bambooUrl = args[0];
UserPasswordCredentials adminUser = new SimpleUserPasswordCredentials(args[1], args[2]);
BambooServer server = new BambooServer(bambooUrl, adminUser);
server.publish(createPlan());;
Just instead of geting the credentials from the args or the .credentials file you could store the credentials in other file or variable (encrypted) and then decrypt the values in java.
Link: https://docs.atlassian.com/bamboo-specs-docs/7.0.4/specs.html?java#java-specs-utilities
Hope it helps :)
Thanks for the response. It gives me hope that there might be a solution but there are some things I probably should have added but was in a hurry for a response.
I am not a Java developer
Our Java files are direct cut-n-paste from Bamboo (with minor class name edits)
We are currently using version 6.6.3 (in process of upgrading to 7.0.3 on July 10th)
We have hundreds of plans that we run from within IntelliJ (not CLI) so preferable minimal changes to file or ease of passing within the IDE.
Need something as simple as possible ;)
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.