CDK construct library for Github OpenID Connect Identity Provider
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 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="first-repo", owner="pahud", repo="second-repo", owner="pahud", repo="third-repo"
])
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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18c317ee953201e1bc97a1d408dbceb8d66f6b80ca460a858fe2cca7d2e7f365 |
|
MD5 | f871dae0e54e6d0409d205474017cd73 |
|
BLAKE2b-256 | 74bd9a6290d3a44e5d9bf307e1463c01363cc41d1ae59b751799edb8ffa9aef7 |
Close
Hashes for pahud_cdk_github_oidc-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49efd5c11abb7f4c7495432053ba9a12c872ca4fa5b2662e0c1e14c562a1bbb3 |
|
MD5 | 0a7b2ce262bee8d43c4d092a13235891 |
|
BLAKE2b-256 | 4c25c73fc4cd0387e0bf206e7e793696054c6cebafc3f69f8fe653a2e288e97b |