Create or update an environment secret
One step with GitHub. We can help you get access.
Get something done
Create or update an environment secret
with GitHub · Continuous Integration Management
Use GitHub: its GitHub v3 REST Actions API lets you create or update an environment secret in a single step (PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}). capabilities.work can help you get signed up and connected.
- How do I add an encrypted secret that only production deployments can use?
- Can I rotate a secret scoped to one environment?
Say it to your AI assistant
- Save secret {secret_name} in environment {environment_name} of {owner}/{repo} with value {encrypted_value} and key {key_id}.
- Rotate the {environment_name} environment secret {secret_name} in {owner}/{repo} to {encrypted_value} using key {key_id}.
For your developer
PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name} in GitHub v3 REST Actions API. Full spec on APIs.io.