SecretBackendIntermediateCertRequest

class SecretBackendIntermediateCertRequest : KotlinCustomResource

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as vault from "@pulumi/vault";
const test = new vault.pkisecret.SecretBackendIntermediateCertRequest("test", {
backend: pki.path,
type: "internal",
commonName: "app.my.domain",
}, {
dependsOn: [pki],
});
import pulumi
import pulumi_vault as vault
test = vault.pki_secret.SecretBackendIntermediateCertRequest("test",
backend=pki["path"],
type="internal",
common_name="app.my.domain",
opts = pulumi.ResourceOptions(depends_on=[pki]))
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vault = Pulumi.Vault;
return await Deployment.RunAsync(() =>
{
var test = new Vault.PkiSecret.SecretBackendIntermediateCertRequest("test", new()
{
Backend = pki.Path,
Type = "internal",
CommonName = "app.my.domain",
}, new CustomResourceOptions
{
DependsOn =
{
pki,
},
});
});
package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault/pkisecret"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := pkisecret.NewSecretBackendIntermediateCertRequest(ctx, "test", &pkisecret.SecretBackendIntermediateCertRequestArgs{
Backend: pulumi.Any(pki.Path),
Type: pulumi.String("internal"),
CommonName: pulumi.String("app.my.domain"),
}, pulumi.DependsOn([]pulumi.Resource{
pki,
}))
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vault.pkiSecret.SecretBackendIntermediateCertRequest;
import com.pulumi.vault.pkiSecret.SecretBackendIntermediateCertRequestArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new SecretBackendIntermediateCertRequest("test", SecretBackendIntermediateCertRequestArgs.builder()
.backend(pki.path())
.type("internal")
.commonName("app.my.domain")
.build(), CustomResourceOptions.builder()
.dependsOn(pki)
.build());
}
}
resources:
test:
type: vault:pkiSecret:SecretBackendIntermediateCertRequest
properties:
backend: ${pki.path}
type: internal
commonName: app.my.domain
options:
dependsOn:
- ${pki}

Properties

Link copied to clipboard

Adds a Basic Constraints extension with 'CA: true'. Only needed as a workaround in some compatibility scenarios with Active Directory Certificate Services

Link copied to clipboard
val altNames: Output<List<String>>?

List of alternative names

Link copied to clipboard
val backend: Output<String>

The PKI secret backend the resource belongs to.

Link copied to clipboard
val commonName: Output<String>

CN of intermediate to create

Link copied to clipboard
val country: Output<String>?

The country

Link copied to clipboard
val csr: Output<String>

The CSR

Link copied to clipboard

Flag to exclude CN from SANs

Link copied to clipboard
val format: Output<String>?

The format of data

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val ipSans: Output<List<String>>?

List of alternative IPs

Link copied to clipboard
val keyBits: Output<Int>?

The number of bits to use

Link copied to clipboard
val keyId: Output<String>

The ID of the generated key.

Link copied to clipboard
val keyName: Output<String>

When a new key is created with this request, optionally specifies the name for this. The global ref default may not be used as a name.

Link copied to clipboard
val keyRef: Output<String>

Specifies the key (either default, by name, or by identifier) to use for generating this request. Only suitable for type=existing requests.

Link copied to clipboard
val keyType: Output<String>?

The desired key type

Link copied to clipboard
val keyUsages: Output<List<String>>?

Specifies key_usage to encode in the generated certificate.

Link copied to clipboard
val locality: Output<String>?

The locality

Link copied to clipboard
val managedKeyId: Output<String>?

The ID of the previously configured managed key. This field is required if type is kms and it conflicts with managed_key_name

Link copied to clipboard
val managedKeyName: Output<String>?

The name of the previously configured managed key. This field is required if type is kms and it conflicts with managed_key_id

Link copied to clipboard
val namespace: Output<String>?

The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.

Link copied to clipboard
val organization: Output<String>?

The organization

Link copied to clipboard
val otherSans: Output<List<String>>?

List of other SANs

Link copied to clipboard
val ou: Output<String>?

The organization unit

Link copied to clipboard
val postalCode: Output<String>?

The postal code

Link copied to clipboard
val privateKey: Output<String>

The private key

Link copied to clipboard
val privateKeyFormat: Output<String>?

The private key format

Link copied to clipboard
val privateKeyType: Output<String>

The private key type

Link copied to clipboard
val province: Output<String>?

The province

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val serialNumber: Output<String>?

The requested Subject's named Serial Number

Link copied to clipboard
val signatureBits: Output<Int>?

The number of bits to use in the signature algorithm

Link copied to clipboard
val streetAddress: Output<String>?

The street address

Link copied to clipboard
val type: Output<String>

Type of intermediate to create. Must be either \"exported\" or \"internal\" or \"kms\"

Link copied to clipboard
val uriSans: Output<List<String>>?

List of alternative URIs

Link copied to clipboard
val urn: Output<String>