Describe keypair
Use this command to identify the following information about a specific keypair: keypair ID, keypair alias, key algorithm, key size, key curve, keypair status, keypair type, keypair category, key storage, public key, access, users who have access to keypair, associated team, and dynamic key ID.
Command
Describe keypair commands begin with:
smctl keypair describe <keypair ID> <flag>
or the abbreviated command:
smctl kp desc <keypair ID> <flag>
Tip
Adding a flag to this command is optional.
Flags
Describe keypair commands supports these flag:
Table 1. Flags for describing a keypair
Shortcut | Flag | Description |
---|---|---|
--account-id string | Account ID for the user. Format: --account-id="<account ID>" | |
-h | --help | Help for describing a keypair. |
Sample command
Description: Describe the keypair for the provided keypair ID.
Command:
smctl keypair describe <keypair id>
Command sample:
smctl kp desc 54868080-c4fb-4ea8-99cc-490329a1953e
Command output
Keypair ID: 54868080-c4fb-4ea8-99cc-490329a1953e Keypair alias: kp-1 Key algorithm: RSA - 4096 Key size: 4096 Key curve: Keypair status: ONLINE Keypair type: STATIC Keypair category: PRODUCTION Key storage: DISK Public key: MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAzXNVPI+mg7EIs81FGRtbV3fJNA8r0u9VBuxejGV3bux/bQVa/Wo98RoEC99Q1M/gTINkmCNA+vj3XhknOV5RdxmWYVEuhOyD80NRzzd57/W/p8jnfy1BQ+SR9pyRv69m7UmvfHi7iEPHVmwK2rs86MEdqLIRMwySKFJu3hS2Zx4gvhNASEmSAC2iRVneqM1ef+3N8ZR/8aAxgwGtE1c+ozpiZHEfqpe7Nt0rz40DYnQtmXUPC1PGHETixyIZS27m1rPzKd6AJvGs30akMO6ea3X5lYtM7Mg/B+PCT+HmxiVU+CH5NmwQqvjWyBSMgc9E1klShdXsKnOzcHFeWKnu0OdV0x21ernbejb37c/7YGzlNWOiVovx0jDJhzca9wfw0ZT/4hJ75DPe5eet9SeFf3y1hPxIVFicyg0FXMD2LuEXOGg5I3qRD6nhfZMqXzgsCUd/Ia0YxG/2WDo66n6dtkrOyTu6L4CEc61AwWuUXxpS2G8Ermow8Md5uHPQjAOszGvII+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