Important

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

confluent secret file add

Description

This command encrypts the password and adds it to the configuration file specified in --config-file. This command returns a failure if a master key has not already been set using the master-key generate command.

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

confluent secret file add [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 properties.
-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.