Ca External Account Key Args
data class CaExternalAccountKeyArgs(val location: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<CaExternalAccountKeyArgs>
A representation of an ExternalAccountKey used for external account binding within ACME. To get more information about ExternalAccountKey, see:
How-to Guides
Warning: This resource is create-only and could not be read from the API. On delete, the resource would be removed from the state. You must use an EAB secret within 7 days of obtaining it. The EAB secret is invalidated if you don't use it within 7 days. The ACME account registered by using an EAB secret has no expiration.
Example Usage
Public Ca External Account Key
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const prod = new gcp.compute.CaExternalAccountKey("prod", {project: "my-project-name"});
Content copied to clipboard
import pulumi
import pulumi_gcp as gcp
prod = gcp.compute.CaExternalAccountKey("prod", project="my-project-name")
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var prod = new Gcp.Compute.CaExternalAccountKey("prod", new()
{
Project = "my-project-name",
});
});
Content copied to clipboard
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := compute.NewCaExternalAccountKey(ctx, "prod", &compute.CaExternalAccountKeyArgs{
Project: pulumi.String("my-project-name"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.CaExternalAccountKey;
import com.pulumi.gcp.compute.CaExternalAccountKeyArgs;
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 prod = new CaExternalAccountKey("prod", CaExternalAccountKeyArgs.builder()
.project("my-project-name")
.build());
}
}
Content copied to clipboard
resources:
prod:
type: gcp:compute:CaExternalAccountKey
properties:
project: my-project-name
Content copied to clipboard
Import
This resource does not support import.