gcloud beta kms mac-verify Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta kms mac-verify - verify a user signature file using a MAC key version
- SYNOPSIS
gcloud beta kms mac-verify--input-file=INPUT_FILE--signature-file=SIGNATURE_FILE[--key=KEY][--keyring=KEYRING][--location=LOCATION][--skip-integrity-verification][--version=VERSION][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(BETA)Verifies a digital signature using the provided MAC signingkey version.By default, the command performs integrity verification on data sent to andreceived from Cloud KMS. Use --skip-integrity-verification to disable integrityverification.
- EXAMPLES
- The following command will read the file '/tmp/my/file.to.verify', and verify itusing the symmetric MAC CryptoKey
dont-panicVersion 3 and the fileused previously to generate the MAC tag ('/tmp/my/original.data.file').gcloudbetakmsmac-verify--location=us-central1--keyring=hitchhiker--key=dont-panic--version=3--input-file=/tmp/my/original.data.file--signature-file=/tmp/my/file.to.verify - REQUIRED FLAGS
--input-file=INPUT_FILE- Path to the input file to use for verification.
--signature-file=SIGNATURE_FILE- Path to the signature file to be verified.
- OPTIONAL FLAGS
--key=KEY- to use for signing.
--keyring=KEYRING- Key ring of the key.
--location=LOCATION- Location of the keyring.
--skip-integrity-verification- Skip integrity verification on request and response API fields.
--version=VERSION- Version to use for signing.
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$gcloud helpfor details. - NOTES
- This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudkmsmac-verifygcloudalphakmsmac-verify
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.