Skip to main content

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 nameDescription
Step NameSpecify a unique name for the step.
CONNECTION tab:Connection fields
RegionSpecify the region where the instance is hosted or choose a region from the Region Explorer window.
Button: GetClick Get button to open the Region Explorer window. Choose a Region.
Access Key:Access key to authenticate Amazon AWS cloud.
Accept Values from fieldsLeave 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 KeySpecify 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 fieldsLeave 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 KeySpecify 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 ConnectionClick 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 NameSelect name of a key pair.
The field type is String. This field is mandatory.
Local File Path To Download Key AtSpecify the local file path where you want to download the key.
The field type is String. This field is mandatory.
Button: BrowseClick Browse button to select the file path to download the key.
Key Pair TypeSelect the type of key pair. Allowed values are: rsa or ed25519.
Default value: rsa
The field type is String. This field is mandatory.
TagsProvide 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.
KeySelect if you want to give a tag, then provide the tag key name in this field.
ValueSelect value for the respective Tag Key Name.
OUTPUT tab:Output fields
RSA KeySpecify the generated key as output through this field.
The default value is ‘RSAKey’.