@pahud/cdk-github-oidc
Project description
cdk-github-oidc
Inspired by aripalo/aws-cdk-github-oidc, this repository allows you to create a Github OpenID Connect Identity Provider
with the OpenIdConnectProvider
CDK construct and generate federated IAM roles from this provider used in one or multiple Github repositories.
Sample
# Example automatically generated. See https://github.com/aws/jsii/issues/826
from cdk_github_oidc import OpenIdConnectProvider
# create the provider
provider = OpenIdConnectProvider(stack, "GithubOpenIdConnectProvider")
# create an IAM role from this provider
provider.create_role("demo-role", [owner="pahud", repo="gitpod-workspace", owner="pahud", repo="github-codespace", owner="pahud", repo="vscode"
])
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f04dfc844a9911c00368970f106f66ad34492fbd7dfa0c2ce3fbc7cb838a570 |
|
MD5 | a7c3483d9e91fe3fe3bf4320a0371629 |
|
BLAKE2b-256 | 27b4cff18c5ac76ad0bf70b3739304cd371c8b496990eb3ada75b76c3c41b260 |
Close
Hashes for pahud_cdk_github_oidc-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a3cfbe0065fc7f50af794907f8e391f97767464229ef2c91b1440f56e43d3c5 |
|
MD5 | b63be50d65f48d0ee8e1ba812056fe6b |
|
BLAKE2b-256 | f45c4d09a35d5aaaf9a81d2aa991eb2367ee81926ea22c8e36566a8742484bed |