CDK construct library for Github OpenID Connect Identity Provider
Project description
cdk-github-oidc
Inspired by aripalo/aws-cdk-github-oidc, this construct library allows you to create a Github OpenID Connect Identity Provider
trust relationship with the Provider
construct as well as federated IAM roles for one or multiple Github repositories.
This construct is still in experimental
stage and may have breaking changes. However, we aim to make this library as simple as possible.
Sample
# Example automatically generated. See https://github.com/aws/jsii/issues/826
from pahud.cdk_github_oidc import Provider
# create the provider
provider = Provider(stack, "GithubOpenIdConnectProvider")
# create an IAM role from this provider
provider.create_role("demo-role", [owner="octo-org", repo="first-repo", owner="octo-org", repo="second-repo", owner="octo-org", repo="third-repo"
])
Reference
- Configuring OpenID Connect in Amazon Web Services from GitHub Docs
- aripalo/aws-cdk-github-oidc by Ari Palo
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pahud-cdk-github-oidc-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | deb7cda4d87bce3b7caae0335cedd3bdbff7e1a9ea8a788541ad2f1a66f33be5 |
|
MD5 | cf4c62025f81005ed58cb857d1bab097 |
|
BLAKE2b-256 | 88028b976dfcf4b6cceaacc9efb39fa618d82bff1fc0e2e34903d90bc8128796 |
Close
Hashes for pahud_cdk_github_oidc-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce239b4a43b0eedb400d6692672bd86f7da3bc7d7b72dde1833d61ec55af6eeb |
|
MD5 | d16f971d8e326ecb9759e4a03d51c06f |
|
BLAKE2b-256 | 8d25f0aad1f9b8f72e14959cc30b020ca0c036d2afd7298edc02748039e855e2 |