소스 정보
- 저장소
- abcxyz/github-token-minter
- 최근 소스 활동
- 2026년 3월 4일 16:57
- 감지된 SKILL.md 언어
- 영어
- 스타
- 6
- 포크
- 2
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/abcxyz/github-token-minter --skill mint-github-token명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Generates a Minty configuration file to allow automation accounts (Service Accounts or GitHub Actions) to access the repository.
Validates Minty configuration files using the `tools validate-cfg` command.
Imports a GitHub private key into Google Cloud KMS.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | mint-github-token |
| description | Exchange an OIDC token for a GitHub token using Minty. |
This skill provides instructions for exchanging an OIDC token (from Google or GitHub) for a GitHub App installation token using the Minty CLI.
gcloud CLI (for Google ID tokens) or gh CLI (for GitHub ID tokens, if applicable).To mint a token, run:
go run github.com/abcxyz/github-token-minter/cmd/minty@main tools mint \
--mintyURL <minty_server_url> \
--token <oidc_token> \
--request <request_json>
--mintyURL: The URL of the Minty server (e.g., https://minty.example.com).--token: The OIDC token to exchange.--request: A JSON string containing the token request details (e.g., repositories and permissions).[!NOTE] If these arguments are not provided or known from context (e.g., the Minty URL), ask the user for them.
To use a Google Service Account (impersonation):
# Get the ID token
export OIDC_TOKEN=$(gcloud auth print-identity-token --impersonate-service-account <sa-email> --audiences <minty-audience>)
# Run minter
go run github.com/abcxyz/github-token-minter/cmd/minty@main tools mint \
--mintyURL <url> \
--token $OIDC_TOKEN \
--request '{"repositories": ["my-repo"], "permissions": {"contents": "read"}}'
To use your GitHub identity, you must obtain an OIDC token (JWT), not a standard opaque personal access token.
gh can generate OIDC tokens in these environments.gh auth token typically returns an opaque token (e.g., ghp_...), which will not work if Minty requires OIDC.
gh returns a JWT requires specific configuration (e.g., enterprise managed users or specific auth flows).# 1. Get Token
export TOKEN=$(gcloud auth print-identity-token \
--impersonate-service-account minty-client@my-project.iam.gserviceaccount.com \
--audiences "https://minty.abcxyz.dev")
# 2. Request GitHub Token
go run github.com/abcxyz/github-token-minter/cmd/minty@main tools mint \
--mintyURL "https://minty-service-url" \
--token "$TOKEN" \
--request '{"repositories": ["github-token-minter"], "permissions": {"issues": "write"}}'