Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Hide credentials information from script.

Sammy August 12, 2020

My script will require to make API call to a confluence server from Jira. Currently, I am using basic auth and my credential is in the script itself. 

What is the best way to hide the credentials in the script or if there is a method not to use basic auth to connect to our confluence server? 

 

On ScriptRunner for Jira.

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Maxim Parshukov June 28, 2021

Hello Sammy, you could use Jira Application Links functionality for creating API from Jira to Confluence. In this case you dont need to use basic auth.

https://scriptrunner.adaptavist.com/latest/confluence/interacting-with-other-apps-via-applinks.html

TAGS
AUG Leaders

Atlassian Community Events