[BUG]: Create or Update an Environment Secret OctoKit #324
Labels
Status: Triage
This is being looked at and prioritized
Type: Bug
Something isn't working as documented
What happened?
Hi,
I am trying to create an environment secret using OctoKit with JavaScript. I have been following this documentation: https://docs.github.com/en/enterprise-cloud@latest/rest/actions/secrets?apiVersion=2022-11-28#create-or-update-an-environment-secret.
As per the example code from the above link, I am using the environment public key since we want to make an environment secret. I am using the "key" value from the return: https://docs.github.com/en/enterprise-cloud@latest/rest/actions/secrets?apiVersion=2022-11-28#get-an-environment-public-key. I am getting an "invalid public key length" error. Has anyone else encountered this error?
Versions
Octokit.js v2.0.14
Node v18.16.0
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: