This section explains how to use the qq fs_security_replace_key command.

Description

Replace the specified key without affecting the snapshots and snapshot policies associated with it.

Usage

qq fs_security_replace_key [-h] -k KEY [--old-private-key-file OLD_PRIVATE_KEY_FILE] [--replacement-private-key-file REPLACEMENT_PRIVATE_KEY_FILE] [--replacement-public-key REPLACEMENT_PUBLIC_KEY]
    [--old-key-verification-signature OLD_KEY_VERIFICATION_SIGNATURE] [--replacement-key-verification-signature REPLACEMENT_KEY_VERIFICATION_SIGNATURE] [--json]

Flags

Flag Name Required Description
-k Yes The identifier or name of the key to replace in the key store.
--old-private-key-file No The ECDSA private key file that corresponds to the existing public key.
--replacement-private-key-file No The ECDSA private key file with which to replace the existing key.
--replacement-public-key No The ECDSA public key with which to replace the existing key.
--old-key-verification-signature No A signature that you generate when you sign the challenge with the existing ECDSA private key.
--replacement-key-verification-signature No A signature that you generate when you sign the challenge with the replacement ECDSA private key.
--json No Print the output in JSON format. By default, the output is in a table.