<reponame>pulumi/pulumi-venafi<gh_stars>0
"""A Python Pulumi program"""

import pulumi
import pulumi_venafi as venafi

config = pulumi.Config()
PASSWORD = config.require_secret("CertificatePassword")

certificate = venafi.Certificate("demo-certificate-py",
                                 common_name="demo-py.mycompany.io",
                                 san_dns=["web01.venafi.example", "web02.venafi.example"],
                                 algorithm="RSA",
                                 rsa_bits=2048,
                                 key_password=PASSWORD)

pulumi.export("expiration_window", certificate.expiration_window)

"""A Python Pulumi program"""

import pulumi
import pulumi_venafi as venafi

config = pulumi.Config()
PASSWORD = config.require_secret("CertificatePassword")

certificate = venafi.Certificate("demo-certificate-py",
                                 common_name="demo-py.mycompany.io",
                                 san_dns=["web01.venafi.example", "web02.venafi.example"],
                                 algorithm="RSA",
                                 rsa_bits=2048,
                                 key_password=PASSWORD)

pulumi.export("expiration_window", certificate.expiration_window)
A Python Pulumi program