CaExternalAccountKeyArgs

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:

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. Warning: All arguments including the following potentially sensitive values will be stored in the raw state as plain text: key_id, b64_mac_key. Read more about sensitive data in state.

Example Usage

Public Ca External Account Key

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());
}
}

Import

This resource does not support import.

Constructors

Link copied to clipboard
constructor(location: Output<String>? = null, project: Output<String>? = null)

Properties

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

Location for the externalAccountKey. Currently only global is supported.

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

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Functions

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