Amazon EC2: Create Key Pair
Description
Use the step to create an ED25519 or 2048-bit RSA key pair with the specified name in the Amazon AWS account.
Note:
ED25519 keys are not supported for Windows instances, EC2 Instance Connect, and EC2 Serial Console.
Configurations
Field name | Description |
---|---|
Step Name | Specify a unique name for the step. |
CONNECTION tab: | Connection fields |
Region | Specify the region where the instance is hosted or choose a region from the Region Explorer window. |
Button: Get | Click Get button to open the Region Explorer window. Choose a Region. |
Access Key: | Access key to authenticate Amazon AWS cloud. |
Accept Values from fields | Leave checkbox unchecked to accept Access Key value from a field in the previous steps of the stream using a drop down list. Else enable checkbox for Access Key field to appear as Text box. |
Access Key | Specify the Access Key to authenticate Amazon AWS cloud EC2 instance. If the above checkbox is enabled, Access Key field appears as Text box and accepts static values or variables. And if the above checkbox is disabled, Access Key field appears as a drop down to select fields from previous steps. The field type is String. This field is mandatory. |
Secret Key: | Secret key to authenticate Amazon AWS cloud. |
Accept Values from fields | Leave checkbox unchecked to accept Secret Key value from a field in the previous steps of the stream using a drop down list. Else enable checkbox for Secret Key field to appear as Text box. |
Secret Key | Specify the Secret Key to authenticate Amazon AWS Cloud EC2 instance. If above checkbox is enabled, Secret Key field appears as Text box and accepts static values or variables. And if the above checkbox is disabled Secret Key field appears as a drop down to select fields from previous steps. The field type is String. This field is mandatory. |
Button: Test Connection | Click Test Connection button to verify whether the connection is available or not. Region, Access key and Secret Key are mandatory to authenticate Amazon AWS cloud. For the purpose of verification, fields coming from previous steps are not allowed since field values can only be accessed when workflow is in running state. Static values and environment variables are allowed. |
INPUT tab: | Input fields |
Key Pair Name | Select name of a key pair. The field type is String. This field is mandatory. |
Local File Path To Download Key At | Specify the local file path where you want to download the key. The field type is String. This field is mandatory. |
Button: Browse | Click Browse button to select the file path to download the key. |
Key Pair Type | Select the type of key pair. Allowed values are: rsa or ed25519. Default value: rsa The field type is String. This field is mandatory. |
Tags | Provide the key and value in tabular format if you want to give a tag to your security group. Note: You can add up to 50 tags in each Key Pair. |
Tabular Fields Note: | You can provide a Tag Name without providing the value in the Value field. However, you cannot provide only the value without the Tag Name. Validations are applied to ensure that the condition is fulfilled. |
Key | Select if you want to give a tag, then provide the tag key name in this field. |
Value | Select value for the respective Tag Key Name. |
OUTPUT tab: | Output fields |
RSA Key | Specify the generated key as output through this field. The default value is ‘RSAKey’. |