KeyPairProps
Properties for defining a KeyPair
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ens-keypair
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkens"
&alicloudroscdkens.KeyPairProps {
KeyPairName: interface{},
PublicKeyBody: interface{},
}
Properties
Name | Type | Description |
---|---|---|
KeyPairName |
interface{} |
Property keyPairName: The name of the key pair. |
PublicKeyBody |
interface{} |
Property publicKeyBody: SSH Public key. |
KeyPairName
Required
KeyPairName interface{}
- Type: interface{}
Property keyPairName: The name of the key pair.
The name must conform to the following naming conventions: The name must be 2 to 128 characters in length, and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It must start with a letter but cannot start with http:// or https://.
PublicKeyBody
Optional
PublicKeyBody interface{}
- Type: interface{}
Property publicKeyBody: SSH Public key.
If PublicKeyBody is specified, existed public key body will be imported instead of creating new SSH key pair.