Use of credentials.json file in a Connect app


I was wondering if the credentials.json is necessary inside a connect app apart from registering the app to the Jira instance. Would there be any consequences if I remove it from the project?


Hi @ShubhamTyagi,

The credentials.json is only used for registering automatically the app to a specific Jira instance.
It is only part of the Atlassian Connect Express toolkit and not of Connect itself.

It’s important to never commit it because it contains a user API token, so it should be added to .gitignore.

As it is intended to help when developing and testing the app, it should not be included in the release that is provided to customers.


Thanks for the response @ccurti . Appreciate it.

1 Like