Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow using API access key from environment variable #85

Open
cuckflong opened this issue Nov 7, 2022 · 1 comment
Open

Allow using API access key from environment variable #85

cuckflong opened this issue Nov 7, 2022 · 1 comment

Comments

@cuckflong
Copy link

Allow to use the API access key from environment variable for better CI/CD integration

@dule-git
Copy link
Contributor

Hey @cuckflong,

I know it is not ideal that we don't have the way of providing the access key in an .env variable.
We are planning to work on it in the near future.

As a workaround, I can provide the following solution:

  • hardhat-tenderly loads the user configuration from the ~/.tenderly/config.yaml file.
  • You can manually (in CI/CD) put the data in this file, so the hardhat-tenderly can read it from there.

The structure of the file is simple and should be:

access_key: <your-access-key>

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants