Skip to content

Instantly share code, notes, and snippets.

@cnuss
Last active January 5, 2022 19:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cnuss/4966f227afdd6a134e74ad579c9c7c2b to your computer and use it in GitHub Desktop.
Save cnuss/4966f227afdd6a134e74ad579c9c7c2b to your computer and use it in GitHub Desktop.
Rollbar SAML.to
---
version: '20220101'
variables:
rollbarAccount: MyProject
awsAccountId: '01234567890'
providers:
rollbar:
entityId: https://saml.rollbar.com
loginUrl: https://rollbar.com/<$= rollbarAccount $>/saml/sso/other/
acsUrl: https://rollbar.com/<$= rollbarAccount $>/saml/sso/other/
attributes:
Email: <#= user.github.email #>
provisioning:
scim:
endpoint: https://scim.rollbar.com # or whatever it is
encryptedToken: ....
aws-iam:
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 #>,arn:aws:iam::<$= awsAccountId $>:saml-provider/saml.to'
permissions:
rollbar:
users:
github:
- cnuss
- brianr
aws-iam:
roles:
- name: arn:aws:iam::<$= awsAccountId $>:role/admin
users:
github:
- brianr
- cnuss
- tonystark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment