CaExternalAccountKey

class CaExternalAccountKey : KotlinCustomResource

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.

Properties

Link copied to clipboard
val b64MacKey: Output<String>

Base64-URL-encoded HS256 key. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created. Note: This property is sensitive and will not be displayed in the plan.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val keyId: Output<String>

It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created. Note: This property is sensitive and will not be displayed in the plan.

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

Location for the externalAccountKey. Currently only global is supported.

Link copied to clipboard
val name: Output<String>

Resource name. projects/{project}/locations/{location}/externalAccountKeys/{keyId}.

Link copied to clipboard
val project: Output<String>

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

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>