forked from aws/aws-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release-1.15.31: Bumping version to 1.15.31 Update changelog based on model updates Update create-snapshot.rst Update import-key-pair.rst Update describe-volumes.rst
- Loading branch information
Showing
9 changed files
with
126 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[ | ||
{ | ||
"category": "``sns``", | ||
"description": "Update sns command to latest version", | ||
"type": "api-change" | ||
}, | ||
{ | ||
"category": "``iot``", | ||
"description": "Update iot command to latest version", | ||
"type": "api-change" | ||
}, | ||
{ | ||
"category": "``ds``", | ||
"description": "Update ds command to latest version", | ||
"type": "api-change" | ||
}, | ||
{ | ||
"category": "``mediatailor``", | ||
"description": "Update mediatailor command to latest version", | ||
"type": "api-change" | ||
}, | ||
{ | ||
"category": "``redshift``", | ||
"description": "Update redshift command to latest version", | ||
"type": "api-change" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,29 @@ | ||
**To import a public key** | ||
|
||
First, generate a key pair with the tool of your choice. For example, use this OpenSSL command: | ||
First, generate a key pair with the tool of your choice. For example, use this ssh-keygen command: | ||
|
||
Command:: | ||
|
||
openssl genrsa -out my-key.pem 2048 | ||
Next, save the public key to a local file. For example, use this OpenSSL command: | ||
ssh-keygen -t rsa -C "my-key" -f ~/.ssh/my-key | ||
|
||
Command:: | ||
Output:: | ||
|
||
openssl rsa -in my-key.pem -pubout > my-key.pub | ||
Finally, this example command imports the specified public key. The public key is the text in the .pub file that is between ``-----BEGIN PUBLIC KEY-----`` and ``-----END PUBLIC KEY-----``. | ||
Generating public/private rsa key pair. | ||
Enter passphrase (empty for no passphrase): | ||
Enter same passphrase again: | ||
Your identification has been saved in /home/ec2-user/.ssh/my-key. | ||
Your public key has been saved in /home/ec2-user/.ssh/my-key.pub. | ||
... | ||
|
||
This example command imports the specified public key. | ||
|
||
Command:: | ||
|
||
aws ec2 import-key-pair --key-name my-key --public-key-material MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuhrGNglwb2Zz/Qcz1zV+l12fJOnWmJxC2GMwQOjAX/L7p01o9vcLRoHXxOtcHBx0TmwMo+i85HWMUE7aJtYclVWPMOeepFmDqR1AxFhaIc9jDe88iLA07VK96wY4oNpp8+lICtgCFkuXyunsk4+KhuasN6kOpk7B2w5cUWveooVrhmJprR90FOHQB2Uhe9MkRkFjnbsA/hvZ/Ay0Cflc2CRZm/NG00lbLrV4l/SQnZmP63DJx194T6pI3vAev2+6UMWSwptNmtRZPMNADjmo50KiG2c3uiUIltiQtqdbSBMh9ztL/98AHtn88JG0s8u2uSRTNEHjG55tyuMbLD40QEXAMPLE | ||
aws ec2 import-key-pair --key-name "my-key" --public-key-material file://~/.ssh/my-key.pub | ||
Output:: | ||
|
||
{ | ||
"KeyName": "my-key", | ||
"KeyFingerprint": "1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters