Versions Compared

Key

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

🤔 Description

...

When in use, the key store file can be used to provide values to acli.propertiesby way of substitution variables similar to the current method of referring to environment variables or other properties (i.e., using ${my.variable} syntax).

In ACLI 11.0.0, the The default syntax for referring to key store values is using a variation of that syntax of the form ${secret:my.secret} (note the addition of the secret: prefix).

Because the key store is password-protected, we require the secret: prefix allows to only consult the key store only when necessaryfor the Secure Properties key variables. To disable this requirement, set the environment variable ACLI_SECURE_PROPERTIES_SAFE_MODE=false.

When disabled, the key store is consulted for variable names that are not found in the acli.properties file or the environment, this may result in an interactive prompt requesting to supply a password!

Unlocking the key store

...

Code Block
breakoutModewide
languagenone
my-jira = jiracloud -s https://myjira.atlassian.net -u me@example.com -t ${secret:my-jira.token}

The following Actions and Examples table shows how you can work with the secure properties and provides examples.

...