github.com/vchain-us/vcn@v0.9.11-0.20210921212052-a2484d23c0b3/docs/user-guide/environments.md (about) 1 # Environments 2 3 By default `vcn` will put the config file and secrets within the a directory called `.vcn` within your [home directory](https://en.wikipedia.org/wiki/Home_directory) (e.g. `$HOME/.vcn` or `%USERPROFILE%\.vcn` on Windows). 4 5 However, `vcn` can work with distinct environments (eg. for testing purpose). 6 7 The following environments are supported by setting the `STAGE` environment var: 8 9 Stage | Directory | Note 10 ------------ | ------------- | ------------- 11 `STAGE=PRODUCTION` | `.vcn` | *default* 12 `STAGE=STAGING` | `.vcn.staging` | 13 `STAGE=TEST` | `.vcn.test` | *`VCN_TEST_DASHBOARD`, `VCN_TEST_NET`, `VCN_TEST_CONTRACT`, `VCN_TEST_API` must be set accordingly to your test environment* 14 15 16 ## Other environment variables 17 18 Name | Description | Example 19 ------------ | ------------- | ------------- 20 `VCN_USER`, `VCN_PASSWORD` | Credentials for non-interactive user login | `VCN_USER=example@example.net VCN_PASSWORD=<your_password> vcn login` 21 `VCN_SIGNERID` | For `vcn authenticate` acts as a list of SignerID(s) (separated by space) to authenticate against | `VCN_SIGNERID="0x0...0 0x0...1" vcn authenticate <asset>` or `VCN_SIGNERID="0x0...0 <asset>` 22 `VCN_ORG` | Organization's ID to authenticate against | `VCN_ORG="vchain.us" vcn authenticate <asset>` 23 `VCN_NOTARIZATION_PASSWORD` | Notarization password for non-interactive notarization | `VCN_NOTARIZATION_PASSWORD=<your_notarization_passphrase> vcn notarize <asset>` 24 `VCN_NOTARIZATION_PASSWORD_EMPTY` | Instruct `vcn` to use an empty notarization password (`VCN_NOTARIZATION_PASSWORD` will be ignored) | `VCN_NOTARIZATION_PASSWORD_EMPTY=yes vcn notarize <asset>` 25 `LOG_LEVEL` | Logging verbosity. Accepted values: `TRACE, DEBUG, INFO, WARN, ERROR, FATAL, PANIC` | `LOG_LEVEL=TRACE vcn login` 26 `HTTP_PROXY` | HTTP Proxy configuration | `HTTP_PROXY=http://localhost:3128 vcn authenticate <asset>`