pulumi-tls
A Pulumi package to create TLS resources in Pulumi programs.
What it is and what it does
pulumi-tls is a Pulumi resource provider that brings TLS certificate and key management into your infrastructure-as-code workflows. It lets you declaratively create, rotate, and manage cryptographic resources—private keys, certificates, certificate signing requests—as part of your cloud infrastructure definition, alongside compute, networking, and storage resources.
The package integrates with Pulumi's strongly-typed SDK and works across multiple languages (Python, TypeScript/Node.js, Go, .NET). For Python users, it requires the Pulumi CLI and a Pulumi project context; it depends on pulumi, parver, semver, and typing-extensions. It's maintained actively and carries no known security vulnerabilities.
Use it for:
- Generate self-signed certificates and private keys for testing and development environments within Pulumi programs.
- Automate TLS certificate provisioning as part of a larger cloud infrastructure deployment pipeline.
- Create certificate signing requests and manage certificate lifecycle alongside other infrastructure resources.
- Integrate TLS resource creation into multi-language Pulumi stacks for consistent certificate management.
- Manage cryptographic material in a version-controlled, reproducible infrastructure-as-code workflow.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Pulumi resource provider for creating and managing TLS keys and certificates within infrastructure-as-code programs.
Yes, if you use Pulumi for infrastructure-as-code and need to manage TLS resources programmatically. The package is actively maintained, has no security vulnerabilities, carries a permissive license, and integrates cleanly into Pulumi workflows. Install only if you have Pulumi CLI already set up and a Pulumi project initialized.
Install
pulumi-tls on PyPI
pip
pip install pulumi-tlsuv
uv add pulumi-tlspoetry
poetry add pulumi-tlsInstalling pulumi-tls
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with a recent release (23 days old) and ongoing repository activity. Depends on pulumi, parver, semver, and typing-extensions—all standard, lightweight dependencies.
License in practice
Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; you must retain license notices but can modify and distribute freely.
Quickstart
pip install pulumi-tls
import pulumi
import pulumi_tls as tls
private_key = tls.PrivateKey('my_key', algorithm='RSA')
Requires Pulumi CLI to be installed first and a Pulumi project initialized; Python >=3.9 required.
Verify before relying
- Whether the package works with all Pulumi stack backends or has known limitations with specific cloud providers.
- Performance characteristics when managing large numbers of TLS resources in a single program.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — parver, pulumi, semver, typing-extensions |
| Maintenance | actively maintained — 23 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,997,998/month — #2,404 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pulumi_tls-5.5.1-py3-none-any.whl
Keywords: pulumi, tls
Tags
More Cryptography packages
Certifi provides Mozilla's curated collection…
copyleft · top 100 on PyPI
cryptographycryptography provides cryptographic recipes and…
permissive · top 100 on PyPI
rsaPure-Python RSA encryption, decryption,…
permissive · top 1,000 on PyPI
pyOpenSSLpyOpenSSL wraps OpenSSL's SSL/TLS functionality…
permissive · top 1,000 on PyPI
azure-identityProvides Microsoft Entra ID token-based…
unclear · top 1,000 on PyPI
PyNaClPyNaCl provides Python bindings to libsodium…
permissive · top 1,000 on PyPI
pulumi-dockerPulumi provider for managing Docker resources…
permissive · top 5,000 on PyPI
pulumi-gitlabPulumi provider for GitLab that lets you define…
permissive · top 15,000 on PyPI
pulumi-randomProvides safe, deterministic randomness for…
permissive · top 5,000 on PyPI
pulumi-vaultPulumi resource provider for HashiCorp Vault…
permissive · top 15,000 on PyPI
pulumi-postgresqlPulumi resource provider for declaring and…
permissive · top 15,000 on PyPI
pulumi-cloudflarePulumi provider for Cloudflare that lets you…
permissive · top 15,000 on PyPI
pulumi-datadogPulumi provider for declaring and managing…
permissive · top 5,000 on PyPI
pulumi-keycloakA Pulumi resource provider that lets you define…
permissive · top 15,000 on PyPI
pulumi-pulumiservicePulumi Service Provider enables programmatic…
permissive · top 15,000 on PyPI
pulumiverse-grafanaA Pulumi resource provider that lets you create…
permissive · top 15,000 on PyPI