Skip to main content

npm version PyPI version

A CDK L3 Construct for storing Gitlab CI variables from a SecretsManager secret

Installation

You can install the library into your project using npm or pip.

npm install @taimos/cdk-construct-gitlab-variable

pip3 install taimos.cdk-construct-gitlab-variable

Usage

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
secret = Secret(self, "DBSecret",
    description="Some Secret",
    generate_secret_string={
        "secret_string_template": "{\"username\":\"admin2\"}",
        "generate_string_key": "password",
        "password_length": 20
    }
)

gitlab_secret = Secret.from_secret_arn(self, "GitlabToken", "arn:aws:secretsmanager:eu-central-1:123456789012:secret:GitlabToken-abcde")

db_password = GitlabVariable(self, "GitlabVarPassword",
    gitlab_secret=gitlab_secret,
    secret=secret,
    secret_field="password",
    project_id="group/secrets-test",
    variable_name="RDS_PASSWORD"
)

Contributing

We welcome community contributions and pull requests.

License

The CDK construct library is distributed under the Apache License, Version 2.0.

See LICENSE for more information.

Metadata

Release files for taimos.cdk-construct-gitlab-variable 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for taimos.cdk-construct-gitlab-variable 1.0.1
File Size Uploaded Provenance Actions
taimos.cdk-construct-gitlab-variable-1.0.1.tar.gz 15.5 MB Without provenance Details for taimos.cdk-construct-gitlab-variable-1.0.1.tar.gz

Release files / taimos.cdk-construct-gitlab-variable-1.0.1.tar.gz

Download URL taimos.cdk-construct-gitlab-variable-1.0.1.tar.gz
Size 15.5 MB
Tags Source
SHA-256 checksum
How to use checksums
d8df0c06a265cc68170cecc9615bbc2441965d0e40cba8ec84a9c4660861d7aa
BLAKE2b-256 checksum
How to use checksums
b32e672613c14739f06a941a3a410cb9d0612007797b7253265b8409b796081f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

Security for taimos.cdk-construct-gitlab-variable 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page