BackendAcmeEab

class BackendAcmeEab : KotlinCustomResource

Allows creating ACME EAB (External Account Binding) tokens and deleting unused ones.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as vault from "@pulumi/vault";
const test = new vault.Mount("test", {
path: "pki",
type: "pki",
description: "PKI secret engine mount",
});
const testBackendAcmeEab = new vault.pkisecret.BackendAcmeEab("test", {backend: test.path});
import pulumi
import pulumi_vault as vault
test = vault.Mount("test",
path="pki",
type="pki",
description="PKI secret engine mount")
test_backend_acme_eab = vault.pki_secret.BackendAcmeEab("test", backend=test.path)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vault = Pulumi.Vault;
return await Deployment.RunAsync(() =>
{
var test = new Vault.Mount("test", new()
{
Path = "pki",
Type = "pki",
Description = "PKI secret engine mount",
});
var testBackendAcmeEab = new Vault.PkiSecret.BackendAcmeEab("test", new()
{
Backend = test.Path,
});
});
package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault"
"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 {
test, err := vault.NewMount(ctx, "test", &vault.MountArgs{
Path: pulumi.String("pki"),
Type: pulumi.String("pki"),
Description: pulumi.String("PKI secret engine mount"),
})
if err != nil {
return err
}
_, err = pkisecret.NewBackendAcmeEab(ctx, "test", &pkisecret.BackendAcmeEabArgs{
Backend: test.Path,
})
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.Mount;
import com.pulumi.vault.MountArgs;
import com.pulumi.vault.pkiSecret.BackendAcmeEab;
import com.pulumi.vault.pkiSecret.BackendAcmeEabArgs;
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 Mount("test", MountArgs.builder()
.path("pki")
.type("pki")
.description("PKI secret engine mount")
.build());
var testBackendAcmeEab = new BackendAcmeEab("testBackendAcmeEab", BackendAcmeEabArgs.builder()
.backend(test.path())
.build());
}
}
resources:
test:
type: vault:Mount
properties:
path: pki
type: pki
description: PKI secret engine mount
testBackendAcmeEab:
type: vault:pkiSecret:BackendAcmeEab
name: test
properties:
backend: ${test.path}

Import

As EAB tokens are only available on initial creation there is no possibility to import or update this resource.

Properties

Link copied to clipboard
val acmeDirectory: Output<String>

The ACME directory to which the key belongs

Link copied to clipboard
val backend: Output<String>

The path to the PKI secret backend to create the EAB token within, with no leading or trailing /s.

Link copied to clipboard
val createdOn: Output<String>

An RFC3339 formatted date time when the EAB token was created

Link copied to clipboard
val eabId: Output<String>

The identifier of a specific ACME EAB token

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

Create an EAB token that is specific to an issuer's ACME directory.

Link copied to clipboard
val key: Output<String>

The EAB token

Link copied to clipboard
val keyType: Output<String>

The key type of the EAB key

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

The namespace of the target resource. 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 pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val role: Output<String>?

Create an EAB token that is specific to a role's ACME directory. NOTE: Within Vault ACME there are different ACME directories which an EAB token is associated with;

Link copied to clipboard
val urn: Output<String>