Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

On may many CLI actions, a password (or Cloud token) is a required. We normally recommend people customize their start scripts to include your password, other credentials, and other regular specified 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.

...

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 @

Property

...

file

Since Release 8.8, you can also specify any environment variable in your property file configuration using a standard environment variable reference often supported in property files. This is now the recommended way to use environment variables for CLI actions instead of the variables mentioned above. That support now considered to be deprecated with the possibility the support may be removed in a future version. 

...