You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error Reading in file: /root/.vultr-cli.yaml
Error:
Please export your VULTR API key as an environment variable or add 'api-key' to your config file, eg:
export VULTR_API_KEY='<api_key_from_vultr_account>'
Expected behavior
If the --config flag is defined...
vultr-cli should use the defined path for configuration
vultr-cli should not attempt reading $HOME/.vultr-cli.yaml
the error message should give an example demonstrating add 'api-key' to your config file
The text was updated successfully, but these errors were encountered:
Steps To Reproduce
/usr/local/sbin/vultr-cli
with owner/grouproot:root
and permissions700
/etc/vultr-cli.yaml
with contentsapi-key: 123XYZ...
with owner/grouproot:root
and permissions600
sudo
)$ vultr-cli account --config /etc/vultr-cli.yaml
Error Message
Expected behavior
If the
--config
flag is defined...$HOME/.vultr-cli.yaml
add 'api-key' to your config file
The text was updated successfully, but these errors were encountered: