Create or update a repository secret from stdin.
Section: GitHub Actions and Workflows
Set repo secret
bash
bash
gh secret set AWS_ACCESS_KEY_ID < aws_access_key_id.txtExplanation
Create or update a repository secret from stdin.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing GitHub Actions and Workflows