Skip to content

CertificateProps

Properties for defining a Certificate.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cas-certificate

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcas"
&alicloudroscdkcas.CertificateProps {
    Cert: interface{},
    Key: interface{},
    Name: interface{},
    Lang: interface{},
    SourceIp: interface{},
}

Properties

Name Type Description
Cert interface{} Property cert: Specify the content of the certificate.
Key interface{} Property key: Specify the certificate private key content.
Name interface{} Property name: Custom certificate name.
Lang interface{} Property lang: Specifies the language type for requesting and receiving messages.
SourceIp interface{} Property sourceIp: Specifies the source IP address of the request.

CertRequired

Cert interface{}
  • Type: interface{}

Property cert: Specify the content of the certificate.

To use the PEM encoding format.


KeyRequired

Key interface{}
  • Type: interface{}

Property key: Specify the certificate private key content.

To use the PEM encoding format.


NameRequired

Name interface{}
  • Type: interface{}

Property name: Custom certificate name.

The certificate name under a user cannot be duplicated.


LangOptional

Lang interface{}
  • Type: interface{}

Property lang: Specifies the language type for requesting and receiving messages.


SourceIpOptional

SourceIp interface{}
  • Type: interface{}

Property sourceIp: Specifies the source IP address of the request.