- Provider URL:
https://token.actions.githubusercontent.com
- Audience:
sts.amazonaws.com
Trust Relationship:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Federated": "arn:aws:iam::123456123456:oidc-provider/token.actions.githubusercontent.com"
},
"Action": "sts:AssumeRoleWithWebIdentity",
"Condition": {
"StringLike": {
"token.actions.githubusercontent.com:sub": "repo:saml-to/self-hosted:*"
},
"StringEquals": {
"token.actions.githubusercontent.com:aud": "sts.amazonaws.com"
}
}
}
]
}
- Create a GitHub App
- Set Homepage URL
- Set Callback URL
- Enable Request user authorization (OAuth) during installation
- Enable Device Flow
- Set Webhook URL
- Set Webhook Secret
- Set Repository Permissions
- Repo Admin R/W?
- Webhooks R/W?
- Single File: saml-to.yml
- Set Organization Permissions
- Members R/O
- Set Member Permssions
- Email Addresses R/O
- Set Events
- Member
- Meta
- Membership
- Organization
- Repository
- Team
- Team Add
- Generate a Client Secret
- Copy into GitHub Secrets: NAME: TODO
- Generate a Private Key
- Base64 Encode:
cat ~/Downloads/saml-to-self-hosted.2024-02-04.private-key.pem | base64
- Copy into GitHub Secrets: NAME: TODO
- Base64 Encode: