Env variable in my profile config.yaml #343
Unanswered
spielcrypto
asked this question in
Questions
Replies: 1 comment 2 replies
-
you can pass a private key into the cli using |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Discord user ID
spielcrypto
Describe your question in detail.
my profiles config.yaml looks like this:
I tried to do this:
However doesn't work, when I try to publish a contract I get this error:
"Unexpected error: profiles.testnet: DeserializationError at line 10 column 12"
even executing with the client in javascript there is not way to pass the yaml config file already rendered with ejs.
Is there anyway to pass env var to the config.yaml? otherwise you need to implement something urgently, expose private key into the file is a high risk for the deployed
What error, if any, are you getting?
No response
What have you tried or looked at? Or how can we reproduce the error?
No response
Which operating system are you using?
Linux (Ubuntu, Fedora, Windows WSL, etc.)
Which SDK or tool are you using? (if any)
Aptos CLI
Describe your environment or tooling in detail
aptos-move 3.4.1
Beta Was this translation helpful? Give feedback.
All reactions