GitHub
Example Configuration File
---
# Config Reference:
# https://docs.saml.to/configuration/reference
version: '20220101'
providers:
aws:
entityId: https://signin.aws.amazon.com/saml
acsUrl: https://signin.aws.amazon.com/saml
attributes:
https://aws.amazon.com/SAML/Attributes/RoleSessionName: '<#= user.github.login #>'
https://aws.amazon.com/SAML/Attributes/SessionDuration: '3600'
https://aws.amazon.com/SAML/Attributes/Role: '<#= user.selectedRole #>,<#= provider.variables.providerArn #>'
permissions:
aws:
roles:
- name: arn:aws:iam::123456789012:role/cnuss-admin
provider:
variables:
providerArn: arn:aws:iam::123456789012:saml-provider/saml-to
users:
github:
- github-user-id-1
- github-user-id-2
- octokat
repos:
github:
- some-repo
- other-org/some-other-repoProviders
Permissions
Granting Access to Repos in Another Organization
Last updated