Namespace Pulumi.AliCloud.Cas
Classes
Certificate
Provides a CAS Certificate resource.
NOTE: The Certificate name which you want to add must be already registered and had not added by another account. Every Certificate name can only exist in a unique group.
NOTE: The Cas Certificate region only support cn-hangzhou, ap-south-1, me-east-1, eu-central-1, ap-northeast-1, ap-southeast-2.
NOTE: Available in 1.35.0+ .
Example Usage
using System.IO;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
class MyStack : Stack
{
public MyStack()
{
// Add a new Certificate.
var cert = new AliCloud.Cas.Certificate("cert", new AliCloud.Cas.CertificateArgs
{
Cert = File.ReadAllText($"{path.Module}/test.crt"),
Key = File.ReadAllText($"{path.Module}/test.key"),
});
}
}