Bamboo agent how to specify token in wrapper.conf

Mihir Godbole March 17, 2023

I provided token with java command to install bamboo agent.

When I try to start the agent using bamboo_agent.sh, it gives this message: "

Security token is required for preliminary authentication, but none was provided. Please obtain the token from https://<bamboo-server>/admin/agent/addRemoteAgent.action

 

Is there a way to specify token in wrapper.conf ?

 

1 answer

2 votes
Oday Rafeh
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 17, 2023

Hi @Mihir Godbole 

Yes, you can specify the security token in the wrapper. conf file for your Bamboo agent. To do this, follow these steps:


Open the wrapper. conf file in a text editor.


Add the following line at the end of the file, replacing <your_security_token> with the security token obtained from your Bamboo server:


wrapper. app. parameter.2=-Dbamboo. agent. security. token=<your_security_token>


Save the changes to the wrapper. conf file.


Restart the Bamboo agent using . /bamboo-agent. sh or the relevant command for your system.


By adding the security token to the wrapper. conf file, the Bamboo agent should now start without displaying the "Security token is required" message.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events