CertificateIssuerArgs

data class CertificateIssuerArgs(val accountId: Output<String>? = null, val admins: Output<List<CertificateIssuerAdminArgs>>? = null, val keyVaultId: Output<String>? = null, val name: Output<String>? = null, val orgId: Output<String>? = null, val password: Output<String>? = null, val providerName: Output<String>? = null) : ConvertibleToJava<CertificateIssuerArgs>

Manages a Key Vault Certificate Issuer.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.CoreFunctions;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.keyvault.KeyVault;
import com.pulumi.azure.keyvault.KeyVaultArgs;
import com.pulumi.azure.keyvault.CertificateIssuer;
import com.pulumi.azure.keyvault.CertificateIssuerArgs;
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) {
final var current = CoreFunctions.getClientConfig();
var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleKeyVault = new KeyVault("exampleKeyVault", KeyVaultArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.skuName("standard")
.tenantId(current.applyValue(getClientConfigResult -> getClientConfigResult.tenantId()))
.build());
var exampleCertificateIssuer = new CertificateIssuer("exampleCertificateIssuer", CertificateIssuerArgs.builder()
.orgId("ExampleOrgName")
.keyVaultId(exampleKeyVault.id())
.providerName("DigiCert")
.accountId("0000")
.password("example-password")
.build());
}
}

Import

Key Vault Certificate Issuers can be imported using the resource id, e.g.

$ pulumi import azure:keyvault/certificateIssuer:CertificateIssuer example "https://key-vault-name.vault.azure.net/certificates/issuers/example"

Constructors

Link copied to clipboard
fun CertificateIssuerArgs(accountId: Output<String>? = null, admins: Output<List<CertificateIssuerAdminArgs>>? = null, keyVaultId: Output<String>? = null, name: Output<String>? = null, orgId: Output<String>? = null, password: Output<String>? = null, providerName: Output<String>? = null)

Functions

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

Properties

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

The account number with the third-party Certificate Issuer.

Link copied to clipboard
val admins: Output<List<CertificateIssuerAdminArgs>>? = null

One or more admin blocks as defined below.

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

The ID of the Key Vault in which to create the Certificate Issuer. Changing this forces a new resource to be created.

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

The name which should be used for this Key Vault Certificate Issuer. Changing this forces a new Key Vault Certificate Issuer to be created.

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

The ID of the organization as provided to the issuer.

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

The password associated with the account and organization ID at the third-party Certificate Issuer. If not specified, will not overwrite any previous value.

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

The name of the third-party Certificate Issuer. Possible values are: DigiCert, GlobalSign, OneCertV2-PrivateCA, OneCertV2-PublicCA and SslAdminV2.