ProviderArgs

data class ProviderArgs(val location: Output<String>? = null, val name: Output<String>? = null, val openEnclavePolicyBase64: Output<String>? = null, val policies: Output<List<ProviderPolicyArgs>>? = null, val policySigningCertificateData: Output<String>? = null, val resourceGroupName: Output<String>? = null, val sevSnpPolicyBase64: Output<String>? = null, val sgxEnclavePolicyBase64: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val tpmPolicyBase64: Output<String>? = null) : ConvertibleToJava<ProviderArgs>

Manages an Attestation Provider.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.attestation.Provider;
import com.pulumi.azure.attestation.ProviderArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleProvider = new Provider("exampleProvider", ProviderArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.policySigningCertificateData(Files.readString(Paths.get("./example/cert.pem")))
.build());
}
}

Import

Attestation Providers can be imported using the resource id, e.g.

$ pulumi import azure:attestation/provider:Provider example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Attestation/attestationProviders/provider1

Constructors

Link copied to clipboard
fun ProviderArgs(location: Output<String>? = null, name: Output<String>? = null, openEnclavePolicyBase64: Output<String>? = null, policies: Output<List<ProviderPolicyArgs>>? = null, policySigningCertificateData: Output<String>? = null, resourceGroupName: Output<String>? = null, sevSnpPolicyBase64: Output<String>? = null, sgxEnclavePolicyBase64: Output<String>? = null, tags: Output<Map<String, String>>? = null, tpmPolicyBase64: Output<String>? = null)

Functions

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

Properties

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

The Azure Region where the Attestation Provider should exist. 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 Attestation Provider. Changing this forces a new resource to be created.

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

Specifies the base64 URI Encoded RFC 7519 JWT that should be used for the Attestation Policy.

Link copied to clipboard
val policies: Output<List<ProviderPolicyArgs>>? = null
Link copied to clipboard

A valid X.509 certificate (Section 4 of RFC4648). Changing this forces a new resource to be created.

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

The name of the Resource Group where the attestation provider should exist. Changing this forces a new resource to be created.

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

Specifies the base64 URI Encoded RFC 7519 JWT that should be used for the Attestation Policy.

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

Specifies the base64 URI Encoded RFC 7519 JWT that should be used for the Attestation Policy.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags which should be assigned to the Attestation Provider.

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

Specifies the base64 URI Encoded RFC 7519 JWT that should be used for the Attestation Policy.