request security key-manager profiles get profile-keys-with-id
Syntax
request security key-manager profiles get profile-keys-with-id profile-name key-id <peer-sae-id>
Description
Get the key(s) for given key-id(s) for configured key profile
Options
| profile-name | Name of the configured key profile |
| peer-sae-id | Specify peer sae id |
| key-id | Specify key id |
Required Privilege Level
maintenance
Output Fields
When you enter this command, the system provides feedback on the status of your request.
Sample Output
- request security key-manager profiles get profile-keys-with-id name KM_PROFILE_1 key-id test-key-id
- request security key-manager profiles get profile-keys-with-id name KM_PROFILE_2 peer-sae-id SAE_B key-id 58548aa2-ae54-44e2-8b20-b9a9073c20d5
request security key-manager profiles get profile-keys-with-id name KM_PROFILE_1 key-id test-key-id
cli> request security key-manager profiles get profile-keys-with-id name KM_PROFILE_1 key-id test-key-id
Output: (Key-ids will be in ascii-format and Keys will be in hexadecimal format)
- Response:
- Status: SUCCESS
- Name: KM_PROFILE_1
- Type: Static
- Key-size: 512 bits
- Key-count: 1
- Key-ids:
- test-key-id
- Keys:
- abcd01e289dea1request security key-manager profiles get profile-keys-with-id name KM_PROFILE_2 peer-sae-id SAE_B key-id 58548aa2-ae54-44e2-8b20-b9a9073c20d5
user@host> request security key-manager profiles get profile-keys-with-id name KM_PROFILE_2
peer-sae-id SAE_B key-id 58548aa2-ae54-44e2-8b20-b9a9073c20d5
Output: (Key-ids will be in ascii-format and Keys will be in hexadecimal format)
- Response:
- Status: SUCCESS
- Name: KM_PROFILE_1
- Type: Quantum-key-manager
- Key-size: 256 bits
- Key-count: 1
- Key-ids:
- 58548aa2-ae54-44e2-8b20-b9a9073c20d5
- Keys:
- abcd01e289dea1
Release Information
Command introduced in Junos OS Release 22.4R1.