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.

confluent secret file encrypt [flags]

Tip

For examples, see Secrets Usage Examples.

Flags

--config-file string           REQUIRED: Path to the configuration properties file.
--local-secrets-file string    REQUIRED: Path to the local encrypted configuration properties file.
--remote-secrets-file string   REQUIRED: Path to the remote encrypted configuration properties file.
--config string                List of configuration keys.

Global Flags

-h, --help            Show help for this command.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).

See Also