Open wackazong opened 4 months ago
where did you find this documented? I did not see it in our docs or the README here
For me it was rather useful in scripted deployments using bash process substitution and sourcing the key json from 1Password.
I removed --keypath
and added near add-credentials
. This is because near-cli / near-api-js
already have a simple logic to handle key-stores, and options such as --keypath
makes us need to handle different cases.
Do you think you could use near add-credentials
to import the key into near-cli
?
Storing the credentials unencrypted on disk is a security issue IMHO. I would prefer --keyPath
. Or, even better, an env var that can be used to supply the private key.
ok, I think I have a simple way to bring this back, and we can use env vars
to make it clean. Give me some time to code it and will ping you back.
Describe the bug It seems the
--keyPath
option was removed silently from near-cliTo Reproduce Using the option is not recogized by near-cli, it was removed from the code
Expected behavior Either document this as a change, or preferrably, bring it back.