Create or update a repository secret
One step with GitHub Actions. We can help you get access.
Get something done
Create or update a repository secret
with GitHub Actions · Configuration & Secrets Management
Works with AI assistants
Use GitHub Actions: its GitHub Actions Secrets API lets you create or update a repository secret in a single step (PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}). GitHub Actions also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I add a new secret to my repository for workflows to read?
- Can I rotate the value of an existing repository secret?
Say it to your AI assistant
- Save repository secret {secret_name} in {owner}/{repo} with encrypted value {encrypted_value} and key {key_id}.
- Rotate the repo secret {secret_name} to a newly encrypted value.
For your developer
PUT /repos/{owner}/{repo}/actions/secrets/{secret_name} in GitHub Actions Secrets API. Full spec on APIs.io.