跳到正文

TLS ​

The TLS provider for Pulumi can be used to help to create TLS keys and certitifcate for use with Pulumi resources.

See the full API documentation for complete details of the available TLS provider APIs.

Example ​

typescript
import * as tls from "@pulumi/tls";

const key = new tls.PrivateKey("my-private-key", {
    algorithm: "ECDSA",
    ecdsaCurve: "P384",
});

Libraries ​

The following packages are available in packager managers:

The TLS provider is open source and available in the pulumi/pulumi-tls repo.

文档内容翻译自 Pulumi 官方文档。