Important

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

confluent secret file encrypt

Description

This command encrypts the passwords in file specified in --config-file. This command returns a failure if a master key has not already been set in the environment variable. Create master key using master-key generate command and save the generated master key in environment variable.

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

confluent secret file encrypt [flags]

Flags

--config-file string           Path to the configuration properties file.
--local-secrets-file string    Path to the local encrypted configuration properties file.
--remote-secrets-file string   Path to the remote encrypted configuration properties file.
--config string                List of configuration keys.
-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.