ECS.KeyPair
Element Description
ECS.KeyPair is used to create a key pair for remote login authentication. To ensure security, you are advised to use the key authentication mode when logging in to an ECS.
Element Properties
| 
        Property  | 
      
        Required  | 
      
        Descripiton  | 
     
|---|---|---|
| 
        bucketName  | 
      
        Yes  | 
      
        KeyPair bucket name Type: string Value Description: Supports customization, for example, my-bucket. Suggestion: Customize the value.  | 
     
| 
        name  | 
      
        Yes  | 
      
        KeyPair name Type: string Value Description: Supports customization, for example, my-key. Suggestion: Customize the value.  | 
     
Relationships Between Elements
| 
        Description  | 
      
        Target  | 
     
|---|---|
| 
        Connected  | 
      
Return Value
| 
        Property  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|
| 
        refName  | 
      
        string  | 
      
        Key pair name  | 
     
Blueprint Example
tosca_definitions_version: huaweicloud_tosca_version_1_0
node_templates:
  obsbozli:
    type: HuaweiCloud.OBS.Bucket
    properties:
      acl: private
  ecskp4ep:
    type: HuaweiCloud.ECS.KeyPair
    properties:
      name:
        get_input: ecskp4ep_name
      bucketName:
        get_reference: obsbozli
    requirements:
      - bucketName:
          node: obsbozli
inputs:
  ecskp4ep_name:
    description: keypair name
    label: ''
 Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.