@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 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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ad995b487ab74b4fb347b8bf8ae5aee94d36425bfd2a067f924f5173caf634d |
|
MD5 | 5c4d1655d5af4d91d05f81758769c651 |
|
BLAKE2b-256 | 42f9b6704f923029df2b65956a408a1d829adfa9ef7c8ccb721307d38c0a6d2b |
Close
Hashes for pahud_cdk_github_oidc-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 373480193df806669239e3b2033da4b8b1d8bb7e7cf01c02cef731d177b2ca7f |
|
MD5 | 6b5b910ed6b12f44c65665a95bf19266 |
|
BLAKE2b-256 | 371173a297ad81c19ecef737044ac1ff66ac78c4f2a0b4e42929a59388bf4a2a |