Secret

The command qaskx-cli setup secret allows you to setup secrets handling for qaskx-cli. The technical way secrets can be stored are dependant on your underlying operating system.

The command help is shown below.

Usage: qaskx-cli setup secret --org=<organisation> --tag=<tag name> --key=<key name> --user=<user name> [--provider=<name>] [--vault=<file>][-v | --vv | --vvv | --silent] [-c=<conf file>] [--colourCLI] [--offline] [--env=<environment file>]

The setup secret command allows the setting of a secret that can be used 
either by the qaskx-cli command line tool or the processes it executes.  This can include scripts
for a project, build, test, integration or deployment.

For more details see the documentation at https://docs.qaskx.one/qaskx-cli/cmd/setup/secret/ .
                    
Options:            
      --org         Vault organisation entity
      --tag         Vault tag name
      --key         Vault key
      --user        User name associated to secret
      --vault       Vault (secret) file
      --provider    Vault provider (keyring, wincred, os.env, etc)
  -v, --verbose     Verbose logging
      --vv          Verbose logging level 3
      --vvv         Verbose logging level 5
      --silent      Silent running
      --colourCLI   Colour terminal and command line (env $QASKX_COLOUR_CLI)
  -c, --conf        Configuration file (env $QASKX_CONFIG_FILE)
      --offline     Offline mode (env $QASKX_OFFLINE)
      --env         Environment file to use (default ".env")

Details

The secret subcommand has a number of manadatory arguments as displayed in the help above.

The mandatory arguments are:

  • org- organisation name
  • tag - tage name for secret
  • key - key for the secret
  • user - user name associated with the secret

The input value for the secret is prompted.

This subcommmand is not intended for automation.