confluent secret file rotate¶
Description¶
This command rotates the master or data key.
For additional usage information and examples, see the secrets documentation.
confluent secret file rotate [flags]
Flags¶
--master-key Rotate the master key. Generates a new master key and re-encrypts with the new key.
--data-key Rotate data key. Generates a new data key and re-encrypts the file with the new key.
--local-secrets-file string Path to the encrypted configuration properties file.
--passphrase string Master key passphrase. You can use dash ("-") to pipe from stdin or @file.txt to read from file.
--passphrase-new string New master key passphrase. You can use dash ("-") to pipe from stdin or @file.txt to read from file.
-h, --help Print command information.
Global Flags¶
-v, --verbose count Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).
Examples¶
For examples, see Usage examples.