Skip to content

KeyPairProps

Properties for defining a KeyPair.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudphone-keypair

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcloudphone"
&alicloudroscdkcloudphone.KeyPairProps {
    KeyPairName: interface{},
    PublicKeyBody: interface{},
}

Properties

Name Type Description
KeyPairName interface{} Property keyPairName: The name of the key pair.
PublicKeyBody interface{} Property publicKeyBody: The public key content of the key pair.

KeyPairNameRequired

KeyPairName interface{}
  • Type: interface{}

Property keyPairName: The name of the key pair.

The name must be globally unique. The name must be 2 to 128 characters in length. The name must start with a letter but cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).


PublicKeyBodyRequired

PublicKeyBody interface{}
  • Type: interface{}

Property publicKeyBody: The public key content of the key pair.