Closed insin closed 12 years ago
process.env.USERNAME
process.env.USERPROFILE
The check for path starting with / isn't strictly correct, but works for the default path = '.vault' - this is the minimum I had to do to successfully run the CLI version of Vault on Windows.
path
/
path = '.vault'
process.env.USERNAME
as a key fallbackprocess.env.USERPROFILE
as a root path fallbackThe check for
path
starting with/
isn't strictly correct, but works for the defaultpath = '.vault'
- this is the minimum I had to do to successfully run the CLI version of Vault on Windows.