Important

You are viewing documentation for an older version of Confluent Platform. For the latest, click here.

confluent secret master-key generate

Description

This command generates a master key. This key is used for encryption and decryption of configuration values.

For additional usage information and examples, see the secrets documentation.

confluent secret master-key generate [flags]

Flags

--passphrase string           The key passphrase. To pipe from stdin use "-", e.g. "--passphrase -";
                              to read from a file use "@<path-to-file>", e.g. "--passphrase @/User/bob/secret.properties".
--local-secrets-file string   Path to the local encrypted configuration properties 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.