名称
gdcloud kms keys encrypt - 使用传递的密钥加密明文,并返回密文文件。
摘要
gdcloud kms keys encrypt [flags]
说明
此命令使用传递的密钥加密明文,并返回密文文件。
必需标志
--ciphertext-file string Output file that contains the encrypted plaintext.
--plaintext-file string File to encrypt.
可选标志
--additional-authenticated-data-file string Provides additional authenticated data.
--timeout duration Time limit to complete the encrypt crypto operation. (default 3m0s)
GDCLOUD 全局标志
以下标志适用于所有命令:--configuration、--format、--help、--project、--quiet。
如需了解详情,请参阅 gdcloud CLI 参考概览页面。