Skip to end of banner
Go to start of banner

How to use environment variables for password parameters

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Description

A password is a required parameter on all actions. Even when using an anonymous user, you must specify a blank password. We normally recommend people customize their start scripts (like atlassian, jira, confluence, etc .sh or .bat) to include your password and other regular parameters so you don't have to type them in on the command line. Even after hiding the password in the file, however, some operating systems still have mechanisms to that allow an administrator to see running processing commands including whatever password was typed. This support describes an alternative.

Specifying passwords in environment variables

We provide support for specific environment variables to be recognized and used as substitutes for passwords typed on the command.

The environment variables are:

Environment VariableDescription
ATLASSIAN_CLI_PASSWORD
Will be used when user specifies –password @
ATLASSIAN_CLI_DB_PASSWORD
Will be used when user specifies –dbPassword @
ATLASSIAN_CLI_TARGET_PASSWORD
Will be used when user specifies –targetPassword @
  • No labels