Certificate

Deprecated

This resource has been deprecated in favour of ServiceCertificate

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cas.Certificate;
import com.pulumi.alicloud.cas.CertificateArgs;
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 cert = new Certificate("cert", CertificateArgs.builder()
.cert(Files.readString(Paths.get(String.format("%s/test.crt", path.module()))))
.key(Files.readString(Paths.get(String.format("%s/test.key", path.module()))))
.build());
}
}

Properties

Link copied to clipboard
val cert: Output<String>

Cert of the Certificate in which the Certificate will add.

Link copied to clipboard
val certificateName: Output<String>
Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val key: Output<String>

Key of the Certificate in which the Certificate will add.

Link copied to clipboard
val lang: Output<String>?
Link copied to clipboard
val name: Output<String>

Name of the Certificate. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix .sh and .tel are not supported.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>