View source: R/ec2_operations.R
ec2_import_key_pair | R Documentation |
Imports the public key from an RSA or ED25519 key pair that you created with a third-party tool. Compare this with create_key_pair
, in which Amazon Web Services creates the key pair and gives the keys to you (Amazon Web Services keeps a copy of the public key). With ImportKeyPair, you create the key pair and give Amazon Web Services just the public key. The private key is never transferred between you and Amazon Web Services.
See https://www.paws-r-sdk.com/docs/ec2_import_key_pair/ for full documentation.
ec2_import_key_pair(
DryRun = NULL,
KeyName,
PublicKeyMaterial,
TagSpecifications = NULL
)
DryRun |
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is |
KeyName |
[required] A unique name for the key pair. |
PublicKeyMaterial |
[required] The public key. For API calls, the text must be base64-encoded. For command line tools, base64 encoding is performed for you. |
TagSpecifications |
The tags to apply to the imported key pair. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.