Class SecretBackendCert
Inherited Members
Namespace: Pulumi.Vault.PkiSecret
Assembly: Pulumi.Vault.dll
Syntax
public class SecretBackendCert : CustomResource
Constructors
View SourceSecretBackendCert(String, SecretBackendCertArgs, CustomResourceOptions)
Create a SecretBackendCert resource with the given unique name, arguments, and options.
Declaration
public SecretBackendCert(string name, SecretBackendCertArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| SecretBackendCertArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAltNames
List of alternative names
Declaration
public Output<ImmutableArray<string>> AltNames { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
AutoRenew
If set to true, certs will be renewed if the expiration is within min_seconds_remaining. Default false
Declaration
public Output<bool?> AutoRenew { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Backend
The PKI secret backend the resource belongs to.
Declaration
public Output<string> Backend { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CaChain
The CA chain
Declaration
public Output<string> CaChain { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Certificate
The certificate
Declaration
public Output<string> Certificate { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CommonName
CN of certificate to create
Declaration
public Output<string> CommonName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ExcludeCnFromSans
Flag to exclude CN from SANs
Declaration
public Output<bool?> ExcludeCnFromSans { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Expiration
The expiration date of the certificate in unix epoch format
Declaration
public Output<int> Expiration { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Format
The format of data
Declaration
public Output<string> Format { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
IpSans
List of alternative IPs
Declaration
public Output<ImmutableArray<string>> IpSans { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
IssuingCa
The issuing CA
Declaration
public Output<string> IssuingCa { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
MinSecondsRemaining
Generate a new certificate when the expiration is within this number of seconds, default is 604800 (7 days)
Declaration
public Output<int?> MinSecondsRemaining { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Name
Name of the role to create the certificate against
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
OtherSans
List of other SANs
Declaration
public Output<ImmutableArray<string>> OtherSans { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
PrivateKey
The private key
Declaration
public Output<string> PrivateKey { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PrivateKeyFormat
The private key format
Declaration
public Output<string> PrivateKeyFormat { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PrivateKeyType
The private key type
Declaration
public Output<string> PrivateKeyType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SerialNumber
The serial number
Declaration
public Output<string> SerialNumber { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Ttl
Time to live
Declaration
public Output<string> Ttl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, SecretBackendCertState, CustomResourceOptions)
Get an existing SecretBackendCert resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static SecretBackendCert Get(string name, Input<string> id, SecretBackendCertState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| SecretBackendCertState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| SecretBackendCert |