confluent secret master-key generate


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

confluent secret master-key generate [flags]


For examples, see Secrets Usage Examples.


--local-secrets-file string   REQUIRED: Path to the local encrypted configuration properties file.
--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/".

Global Flags

-h, --help            Show help for this command.
    --unsafe-trace    Equivalent to -vvvv, but also log HTTP requests and responses which may contain plaintext secrets.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).

See Also