confluent secret file rotate¶
説明¶
このコマンドは、マスターキーまたはデータキーのいずれかをローテーションします。マスターキーをローテーションするには、現在のマスターキーパスフレーズフラグ(--passphrase
)を指定し、その後に新しいマスターキーパスフレーズフラグ(--passphrase-new
)を指定します。データキーをローテーションするには、現在のマスターキーパスフレーズフラグ(--passphrase
)を指定します。
confluent secret file rotate [flags]
ちなみに
例については、シークレットの使用例 を参照してください。
フラグ¶
--master-key Rotate the master key. Generates a new master key and re-encrypts with the new key.
--data-key Rotate data key. Generates a new data key and re-encrypts the file with the new key.
--local-secrets-file string REQUIRED: Path to the encrypted configuration properties file.
--passphrase string Master key passphrase. You can use dash ("-") to pipe from stdin or @file.txt to read from file.
--passphrase-new string New master key passphrase. You can use dash ("-") to pipe from stdin or @file.txt to read from file.
グローバルフラグ¶
-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 - 構成プロパティファイルでシークレットを保護します。