SecretBackendIntermediateCertRequestArgs

data class SecretBackendIntermediateCertRequestArgs(val addBasicConstraints: Output<Boolean>? = null, val altNames: Output<List<String>>? = null, val backend: Output<String>? = null, val commonName: Output<String>? = null, val country: Output<String>? = null, val excludeCnFromSans: Output<Boolean>? = null, val format: Output<String>? = null, val ipSans: Output<List<String>>? = null, val keyBits: Output<Int>? = null, val keyName: Output<String>? = null, val keyRef: Output<String>? = null, val keyType: Output<String>? = null, val keyUsages: Output<List<String>>? = null, val locality: Output<String>? = null, val managedKeyId: Output<String>? = null, val managedKeyName: Output<String>? = null, val namespace: Output<String>? = null, val organization: Output<String>? = null, val otherSans: Output<List<String>>? = null, val ou: Output<String>? = null, val postalCode: Output<String>? = null, val privateKeyFormat: Output<String>? = null, val province: Output<String>? = null, val serialNumber: Output<String>? = null, val signatureBits: Output<Int>? = null, val streetAddress: Output<String>? = null, val type: Output<String>? = null, val uriSans: Output<List<String>>? = null) : ConvertibleToJava<SecretBackendIntermediateCertRequestArgs>

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}

Constructors

Link copied to clipboard
constructor(addBasicConstraints: Output<Boolean>? = null, altNames: Output<List<String>>? = null, backend: Output<String>? = null, commonName: Output<String>? = null, country: Output<String>? = null, excludeCnFromSans: Output<Boolean>? = null, format: Output<String>? = null, ipSans: Output<List<String>>? = null, keyBits: Output<Int>? = null, keyName: Output<String>? = null, keyRef: Output<String>? = null, keyType: Output<String>? = null, keyUsages: Output<List<String>>? = null, locality: Output<String>? = null, managedKeyId: Output<String>? = null, managedKeyName: Output<String>? = null, namespace: Output<String>? = null, organization: Output<String>? = null, otherSans: Output<List<String>>? = null, ou: Output<String>? = null, postalCode: Output<String>? = null, privateKeyFormat: Output<String>? = null, province: Output<String>? = null, serialNumber: Output<String>? = null, signatureBits: Output<Int>? = null, streetAddress: Output<String>? = null, type: Output<String>? = null, uriSans: Output<List<String>>? = null)

Properties

Link copied to clipboard
val addBasicConstraints: Output<Boolean>? = null

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>>? = null

List of alternative names

Link copied to clipboard
val backend: Output<String>? = null

The PKI secret backend the resource belongs to.

Link copied to clipboard
val commonName: Output<String>? = null

CN of intermediate to create

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

The country

Link copied to clipboard
val excludeCnFromSans: Output<Boolean>? = null

Flag to exclude CN from SANs

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

The format of data

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

List of alternative IPs

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

The number of bits to use

Link copied to clipboard
val keyName: Output<String>? = null

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>? = null

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>? = null

The desired key type

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

Specifies key_usage to encode in the generated certificate.

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

The locality

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

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>? = null

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>? = null

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>? = null

The organization

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

List of other SANs

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

The organization unit

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

The postal code

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

The private key format

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

The province

Link copied to clipboard
val serialNumber: Output<String>? = null

The requested Subject's named Serial Number

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

The number of bits to use in the signature algorithm

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

The street address

Link copied to clipboard
val type: Output<String>? = null

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

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

List of alternative URIs

Functions

Link copied to clipboard
open override fun toJava(): SecretBackendIntermediateCertRequestArgs