proxmoxve.Certifi
Explore with Pulumi AI
Manages the custom SSL/TLS certificate for a specific node.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
example:
type: proxmoxve:Certifi
properties:
certificate: ${proxmoxVirtualEnvironmentCertificateSelfSignedCert.certPem}
nodeName: first-node
privateKey: ${proxmoxVirtualEnvironmentCertificatePrivateKey.privateKeyPem}
proxmoxVirtualEnvironmentCertificatePrivateKey:
type: tls:PrivateKey
properties:
algorithm: RSA
rsaBits: 2048
proxmoxVirtualEnvironmentCertificateSelfSignedCert:
type: tls:SelfSignedCert
properties:
keyAlgorithm: ${proxmoxVirtualEnvironmentCertificatePrivateKey.algorithm}
privateKeyPem: ${proxmoxVirtualEnvironmentCertificatePrivateKey.privateKeyPem}
subject:
commonName: example.com
organization: Terraform Provider for Proxmox
validityPeriodHours: 8760
allowedUses:
- key_encipherment
- digital_signature
- server_auth
Create Certifi Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Certifi(name: string, args: CertifiArgs, opts?: CustomResourceOptions);
@overload
def Certifi(resource_name: str,
args: CertifiArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Certifi(resource_name: str,
opts: Optional[ResourceOptions] = None,
certificate: Optional[str] = None,
node_name: Optional[str] = None,
private_key: Optional[str] = None,
certificate_chain: Optional[str] = None,
overwrite: Optional[bool] = None)
func NewCertifi(ctx *Context, name string, args CertifiArgs, opts ...ResourceOption) (*Certifi, error)
public Certifi(string name, CertifiArgs args, CustomResourceOptions? opts = null)
public Certifi(String name, CertifiArgs args)
public Certifi(String name, CertifiArgs args, CustomResourceOptions options)
type: proxmoxve:Certifi
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CertifiArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CertifiArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CertifiArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CertifiArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CertifiArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var certifiResource = new ProxmoxVE.Certifi("certifiResource", new()
{
Certificate = "string",
NodeName = "string",
PrivateKey = "string",
CertificateChain = "string",
Overwrite = false,
});
example, err := proxmoxve.NewCertifi(ctx, "certifiResource", &proxmoxve.CertifiArgs{
Certificate: pulumi.String("string"),
NodeName: pulumi.String("string"),
PrivateKey: pulumi.String("string"),
CertificateChain: pulumi.String("string"),
Overwrite: pulumi.Bool(false),
})
var certifiResource = new Certifi("certifiResource", CertifiArgs.builder()
.certificate("string")
.nodeName("string")
.privateKey("string")
.certificateChain("string")
.overwrite(false)
.build());
certifi_resource = proxmoxve.Certifi("certifiResource",
certificate="string",
node_name="string",
private_key="string",
certificate_chain="string",
overwrite=False)
const certifiResource = new proxmoxve.Certifi("certifiResource", {
certificate: "string",
nodeName: "string",
privateKey: "string",
certificateChain: "string",
overwrite: false,
});
type: proxmoxve:Certifi
properties:
certificate: string
certificateChain: string
nodeName: string
overwrite: false
privateKey: string
Certifi Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Certifi resource accepts the following input properties:
- Certificate string
- The PEM encoded certificate.
- Node
Name string - A node name.
- Private
Key string - The PEM encoded private key.
- Certificate
Chain string - The PEM encoded certificate chain.
- Overwrite bool
- Whether to overwrite an existing certificate
- Certificate string
- The PEM encoded certificate.
- Node
Name string - A node name.
- Private
Key string - The PEM encoded private key.
- Certificate
Chain string - The PEM encoded certificate chain.
- Overwrite bool
- Whether to overwrite an existing certificate
- certificate String
- The PEM encoded certificate.
- node
Name String - A node name.
- private
Key String - The PEM encoded private key.
- certificate
Chain String - The PEM encoded certificate chain.
- overwrite Boolean
- Whether to overwrite an existing certificate
- certificate string
- The PEM encoded certificate.
- node
Name string - A node name.
- private
Key string - The PEM encoded private key.
- certificate
Chain string - The PEM encoded certificate chain.
- overwrite boolean
- Whether to overwrite an existing certificate
- certificate str
- The PEM encoded certificate.
- node_
name str - A node name.
- private_
key str - The PEM encoded private key.
- certificate_
chain str - The PEM encoded certificate chain.
- overwrite bool
- Whether to overwrite an existing certificate
- certificate String
- The PEM encoded certificate.
- node
Name String - A node name.
- private
Key String - The PEM encoded private key.
- certificate
Chain String - The PEM encoded certificate chain.
- overwrite Boolean
- Whether to overwrite an existing certificate
Outputs
All input properties are implicitly available as output properties. Additionally, the Certifi resource produces the following output properties:
- Expiration
Date string - The expiration date (RFC 3339).
- File
Name string - The file name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Issuer string
- The issuer.
- Public
Key intSize - The public key size.
- Public
Key stringType - The public key type.
- Ssl
Fingerprint string - The SSL fingerprint.
- Start
Date string - The start date (RFC 3339).
- Subject string
- The subject.
- Subject
Alternative List<string>Names - The subject alternative names.
- Expiration
Date string - The expiration date (RFC 3339).
- File
Name string - The file name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Issuer string
- The issuer.
- Public
Key intSize - The public key size.
- Public
Key stringType - The public key type.
- Ssl
Fingerprint string - The SSL fingerprint.
- Start
Date string - The start date (RFC 3339).
- Subject string
- The subject.
- Subject
Alternative []stringNames - The subject alternative names.
- expiration
Date String - The expiration date (RFC 3339).
- file
Name String - The file name.
- id String
- The provider-assigned unique ID for this managed resource.
- issuer String
- The issuer.
- public
Key IntegerSize - The public key size.
- public
Key StringType - The public key type.
- ssl
Fingerprint String - The SSL fingerprint.
- start
Date String - The start date (RFC 3339).
- subject String
- The subject.
- subject
Alternative List<String>Names - The subject alternative names.
- expiration
Date string - The expiration date (RFC 3339).
- file
Name string - The file name.
- id string
- The provider-assigned unique ID for this managed resource.
- issuer string
- The issuer.
- public
Key numberSize - The public key size.
- public
Key stringType - The public key type.
- ssl
Fingerprint string - The SSL fingerprint.
- start
Date string - The start date (RFC 3339).
- subject string
- The subject.
- subject
Alternative string[]Names - The subject alternative names.
- expiration_
date str - The expiration date (RFC 3339).
- file_
name str - The file name.
- id str
- The provider-assigned unique ID for this managed resource.
- issuer str
- The issuer.
- public_
key_ intsize - The public key size.
- public_
key_ strtype - The public key type.
- ssl_
fingerprint str - The SSL fingerprint.
- start_
date str - The start date (RFC 3339).
- subject str
- The subject.
- subject_
alternative_ Sequence[str]names - The subject alternative names.
- expiration
Date String - The expiration date (RFC 3339).
- file
Name String - The file name.
- id String
- The provider-assigned unique ID for this managed resource.
- issuer String
- The issuer.
- public
Key NumberSize - The public key size.
- public
Key StringType - The public key type.
- ssl
Fingerprint String - The SSL fingerprint.
- start
Date String - The start date (RFC 3339).
- subject String
- The subject.
- subject
Alternative List<String>Names - The subject alternative names.
Look up Existing Certifi Resource
Get an existing Certifi resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CertifiState, opts?: CustomResourceOptions): Certifi
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
certificate: Optional[str] = None,
certificate_chain: Optional[str] = None,
expiration_date: Optional[str] = None,
file_name: Optional[str] = None,
issuer: Optional[str] = None,
node_name: Optional[str] = None,
overwrite: Optional[bool] = None,
private_key: Optional[str] = None,
public_key_size: Optional[int] = None,
public_key_type: Optional[str] = None,
ssl_fingerprint: Optional[str] = None,
start_date: Optional[str] = None,
subject: Optional[str] = None,
subject_alternative_names: Optional[Sequence[str]] = None) -> Certifi
func GetCertifi(ctx *Context, name string, id IDInput, state *CertifiState, opts ...ResourceOption) (*Certifi, error)
public static Certifi Get(string name, Input<string> id, CertifiState? state, CustomResourceOptions? opts = null)
public static Certifi get(String name, Output<String> id, CertifiState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Certificate string
- The PEM encoded certificate.
- Certificate
Chain string - The PEM encoded certificate chain.
- Expiration
Date string - The expiration date (RFC 3339).
- File
Name string - The file name.
- Issuer string
- The issuer.
- Node
Name string - A node name.
- Overwrite bool
- Whether to overwrite an existing certificate
- Private
Key string - The PEM encoded private key.
- Public
Key intSize - The public key size.
- Public
Key stringType - The public key type.
- Ssl
Fingerprint string - The SSL fingerprint.
- Start
Date string - The start date (RFC 3339).
- Subject string
- The subject.
- Subject
Alternative List<string>Names - The subject alternative names.
- Certificate string
- The PEM encoded certificate.
- Certificate
Chain string - The PEM encoded certificate chain.
- Expiration
Date string - The expiration date (RFC 3339).
- File
Name string - The file name.
- Issuer string
- The issuer.
- Node
Name string - A node name.
- Overwrite bool
- Whether to overwrite an existing certificate
- Private
Key string - The PEM encoded private key.
- Public
Key intSize - The public key size.
- Public
Key stringType - The public key type.
- Ssl
Fingerprint string - The SSL fingerprint.
- Start
Date string - The start date (RFC 3339).
- Subject string
- The subject.
- Subject
Alternative []stringNames - The subject alternative names.
- certificate String
- The PEM encoded certificate.
- certificate
Chain String - The PEM encoded certificate chain.
- expiration
Date String - The expiration date (RFC 3339).
- file
Name String - The file name.
- issuer String
- The issuer.
- node
Name String - A node name.
- overwrite Boolean
- Whether to overwrite an existing certificate
- private
Key String - The PEM encoded private key.
- public
Key IntegerSize - The public key size.
- public
Key StringType - The public key type.
- ssl
Fingerprint String - The SSL fingerprint.
- start
Date String - The start date (RFC 3339).
- subject String
- The subject.
- subject
Alternative List<String>Names - The subject alternative names.
- certificate string
- The PEM encoded certificate.
- certificate
Chain string - The PEM encoded certificate chain.
- expiration
Date string - The expiration date (RFC 3339).
- file
Name string - The file name.
- issuer string
- The issuer.
- node
Name string - A node name.
- overwrite boolean
- Whether to overwrite an existing certificate
- private
Key string - The PEM encoded private key.
- public
Key numberSize - The public key size.
- public
Key stringType - The public key type.
- ssl
Fingerprint string - The SSL fingerprint.
- start
Date string - The start date (RFC 3339).
- subject string
- The subject.
- subject
Alternative string[]Names - The subject alternative names.
- certificate str
- The PEM encoded certificate.
- certificate_
chain str - The PEM encoded certificate chain.
- expiration_
date str - The expiration date (RFC 3339).
- file_
name str - The file name.
- issuer str
- The issuer.
- node_
name str - A node name.
- overwrite bool
- Whether to overwrite an existing certificate
- private_
key str - The PEM encoded private key.
- public_
key_ intsize - The public key size.
- public_
key_ strtype - The public key type.
- ssl_
fingerprint str - The SSL fingerprint.
- start_
date str - The start date (RFC 3339).
- subject str
- The subject.
- subject_
alternative_ Sequence[str]names - The subject alternative names.
- certificate String
- The PEM encoded certificate.
- certificate
Chain String - The PEM encoded certificate chain.
- expiration
Date String - The expiration date (RFC 3339).
- file
Name String - The file name.
- issuer String
- The issuer.
- node
Name String - A node name.
- overwrite Boolean
- Whether to overwrite an existing certificate
- private
Key String - The PEM encoded private key.
- public
Key NumberSize - The public key size.
- public
Key StringType - The public key type.
- ssl
Fingerprint String - The SSL fingerprint.
- start
Date String - The start date (RFC 3339).
- subject String
- The subject.
- subject
Alternative List<String>Names - The subject alternative names.
Package Details
- Repository
- proxmoxve muhlba91/pulumi-proxmoxve
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
proxmox
Terraform Provider.