6.2.4.5 lskey
Display key information.
Purpose
The lskey command displays
                information about the specificed key file.
                  
Syntax
lskey pem-file [ --attributes attribute[,attribute]... ] [ --detail ] [ -l ]Command Options
The options for the lskey command
                are:
                  
- 
                        
pem-file: Identifies the key file that you want to display information about. The pem-file must specify a regular file location for a key file in PEM format.
 - 
                        
--attributes: Identifies specific attributes to display in the output.You can use this option to focus on a subset of attributes as an alternative to the
--detailoption. - 
                        
--detail: Displays detailed output with additional attributes. - 
                        
-l: Displays output in a long, tabular format. 
Examples
Example 6-40 List Detailed Key Information
The following example displays detailed
                information from the key file named
            pub.pem.
                  
@> lskey pub.pem --detailExample 6-41 List Specific Key Information
The following example displays specific attributes (id,
                    privateKeyFile, and publicKeyFingerprint) from
                the key file named priv.pem.
                  
@> lskey priv.pem --attributes id,privateKeyFile,publicKeyFingerprint
                  Parent topic: Security and User Management