confluent secret file encrypt¶
説明¶
このコマンドは、--config-file で指定される構成ファイルにあるパスワードを暗号化します。このコマンドは、マスターキーが環境変数で設定されていない場合は失敗を返します。"master-key generate" コマンドを使用してマスターキーを作成し、生成されたマスターキーを環境変数に保存します。
confluent secret file encrypt [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.
グローバルフラグ¶
-h, --help Show help for this command.
-v, --verbose count Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).
関連情報¶
- confluent secret file - 構成プロパティファイルでシークレットを保護します。