{"id":1475,"kind":"story","title":"How to get an app token in GitHub Actions without a secret key: GATES, built by a developer with AWS","url":"https://zenn.dev/tmknom/articles/github-app-token-exchange-system","host":"zenn.dev","by":"startupxo","score":0,"comments":0,"time":"2026-11-27T12:29:35.175Z","origin":"curated","language":{"source":"ko","reading":"en","translated":true},"summary":["A tool that lets an automated job borrow repository permissions without handing the job the key (secret key) used for that purpose, and instead lets it use only a temporary pass. It is GATES, made for GitHub Actions by developer tmknom, and it uses AWS Lambda and AWS KMS.","The conventional approach shares a long-lived secret key across multiple repositories. The original article points out that anyone who can edit a workflow can easily extract the key externally, which increases the paths for leaks.","It proves the workflow's identity with GitHub OIDC to obtain temporary AWS credentials, and KMS handles the signing needed to issue the token. According to the original article, even administrators cannot extract a key placed in KMS, and Lambda cannot see it in plaintext.","The scope is deliberately narrow. It is only for GitHub Actions and AWS, and handles one GitHub App per Lambda and only repository permissions. The author stated that if the signing permission (kms:Sign) were stolen, signing would be possible, so that permission is not given to workflows."],"discussion":"https://startupxo.com/en/1475/","markdown":"https://startupxo.com/en/1475.md","api":"https://startupxo.com/api/v1/item.json?id=1475&lang=en","text":null,"edited":null,"sources":[{"site":"rss","name":"Zenn","url":"https://zenn.dev/tmknom/articles/github-app-token-exchange-system","score":null,"comments":null,"observed_at":"2026-11-27T12:29:08Z"}],"thread":[]}