We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ksm exec -- source .my.secrests.file
Error: Cannot execute command: [Errno 2] No such file or directory: 'source'
However, when I run it directly, it does as I expect and does not throw an error.
The text was updated successfully, but these errors were encountered:
Hi @bzitzow-osh for reporting this issue. the source command is a built-in shell command. We are looking into the solution for this.
source
Sorry, something went wrong.
in the mean time would you tell us your exact use case. What are you trying to achieve in your situation?
If you are trying to get secrets and place them into environment variables, you could just export LOGIN=$(ksm secret get --field login XXXXXXXX)
export LOGIN=$(ksm secret get --field login XXXXXXXX)
I'd like to have a file of secrets:
secrets.env
whose content is:
MY_SECRET_TOKEN=keeper://... ... etc
and I'd like to load them all into the environment:
set -a ksm exec -- source secrets.env set +a
No branches or pull requests
ksm exec -- source .my.secrests.file
However, when I run it directly, it does as I expect and does not throw an error.
The text was updated successfully, but these errors were encountered: