If --creds-path is not provided it will not default to ~/.credentials any more. Instead, it will assume that env vars want to be used and it will try so.
Also, the documentation has been updated to reflect this and provide a way to use 1Password CLI as a credentials loader.
Why
This will improve security and UX.
How
If --creds-path is not provided, do not fail and carry on assuming creds are in the env vars.
If --creds-path is provided, then fail if it is not possible to load the file.
What
If --creds-path is not provided it will not default to
~/.credentials
any more. Instead, it will assume that env vars want to be used and it will try so.Also, the documentation has been updated to reflect this and provide a way to use 1Password CLI as a credentials loader.
Why
This will improve security and UX.
How
--creds-path
is not provided, do not fail and carry on assuming creds are in the env vars.--creds-path
is provided, then fail if it is not possible to load the file.Test
Manually tested.