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  | 
      
        Mandatory  | 
      
        Descripiton  | 
     
|---|---|---|
| 
        bucketName  | 
      
        Yes  | 
      
        Bucket name Type: string Value Description: Customize the value, for example, my-bucket. Value Constraint: {u'regex': u'^[a-z]([-a-z0-9]*[a-z0-9])?$', u'min_length': 3, u'max_length': 63} Suggestion: Customize the value.  | 
     
| 
        name  | 
      
        Yes  | 
      
        Key pair name Type: string Value Description: Customize the value, for example, my-key. Value Constraint: {u'regex': u'^[-_a-zA-Z0-9]*$', u'min_length': 1, u'max_length': 63} 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: cloud_tosca_version_1_0
node_templates:
  obsbozli:
    type: Cloud.OBS.Bucket
    properties:
      acl: private
  ecskp4ep:
    type: Cloud.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.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot