Skip to content

CertificateProps

Properties for defining a Certificate.

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

Initializer

import { CertificateProps } from '@alicloud/ros-cdk-cas'
const certificateProps: CertificateProps = { ... }

Properties

Name Type Description
cert string | @alicloud/ros-cdk-core.IResolvable Property cert: Specify the content of the certificate.
key string | @alicloud/ros-cdk-core.IResolvable Property key: Specify the certificate private key content.
name string | @alicloud/ros-cdk-core.IResolvable Property name: Custom certificate name.
lang string | @alicloud/ros-cdk-core.IResolvable Property lang: Specifies the language type for requesting and receiving messages.
sourceIp string | @alicloud/ros-cdk-core.IResolvable Property sourceIp: Specifies the source IP address of the request.

certRequired

public readonly cert: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property cert: Specify the content of the certificate.

To use the PEM encoding format.


keyRequired

public readonly key: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property key: Specify the certificate private key content.

To use the PEM encoding format.


nameRequired

public readonly name: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property name: Custom certificate name.

The certificate name under a user cannot be duplicated.


langOptional

public readonly lang: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


sourceIpOptional

public readonly sourceIp: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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