- INFORMATION
-
gcloud kms keys versions export-trusted-key-wrappedis not available in universe domainuniverse. - NAME
-
- gcloud kms keys versions export-trusted-key-wrapped - export a trusted key wrapped CryptoKeyVersion
- SYNOPSIS
-
-
gcloud kms keys versions export-trusted-key-wrappedVERSION--wrapping-key-version=WRAPPING_KEY_VERSION[--key=KEY] [--keyring=KEYRING] [--location=LOCATION] [--wrapped-key-file=WRAPPED_KEY_FILE] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Exports a trusted key wrapped version.
- EXAMPLES
-
The following command exports the trusted key wrapped version
1of the keyfrodowrapped by the key version1ofsamwise:gcloud kms keys versions export-trusted-key-wrapped 1 --key=frodo --keyring=fellowship --location=us-east1 --wrapping-key-version=projects/my-project/locations/us-east1/keyRings/fellowship/cryptoKeys/samwise/cryptoKeyVersions/1 --wrapped-key-file=/tmp/my/public_key.file - POSITIONAL ARGUMENTS
-
VERSION- Name of the version to export.
- REQUIRED FLAGS
-
--wrapping-key-version=WRAPPING_KEY_VERSION- The resource name of the CryptoKeyVersion to use as a wrapping key.
- OPTIONAL FLAGS
-
--key=KEY- The containing key.
--keyring=KEYRING- Key ring of the key.
--location=LOCATION- Location of the keyring.
--wrapped-key-file=WRAPPED_KEY_FILE- Path to the RSA/RSA+AES wrapped key file to store the wrapped key material.
- 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
-
These variants are also available:
gcloud alpha kms keys versions export-trusted-key-wrappedgcloud beta kms keys versions export-trusted-key-wrapped
gcloud kms keys versions export-trusted-key-wrapped
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-07-14 UTC."],[],[]]