- NAME
-
- gcloud alpha kms import-jobs create - create a new import job
- SYNOPSIS
-
-
gcloud alpha kms import-jobs create
IMPORT_JOB
--import-method
=IMPORT_METHOD
--protection-level
=PROTECTION_LEVEL
[--keyring
=KEYRING
] [--location
=LOCATION
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
Creates a new import job within the given keyring. - EXAMPLES
-
The following command creates a new import job named 'strider' within the
'fellowship' keyring, and 'us-central1' location:
gcloud alpha kms import-jobs create strider --location=us-central1 --keyring=fellowship --import-method=rsa-oaep-3072-sha256-aes-256 --protection-level=hsm
- POSITIONAL ARGUMENTS
-
IMPORT_JOB
- Name of the import job to create.
- REQUIRED FLAGS
-
--import-method
=IMPORT_METHOD
-
The wrapping method to be used for incoming key material. For more information
about choosing an import method, see https://cloud.google.com/kms/docs/key-wrapping.
IMPORT_METHOD
must be one of:rsa-oaep-3072-sha1-aes-256
,rsa-oaep-3072-sha256
,rsa-oaep-3072-sha256-aes-256
,rsa-oaep-4096-sha1-aes-256
,rsa-oaep-4096-sha256
,rsa-oaep-4096-sha256-aes-256
. --protection-level
=PROTECTION_LEVEL
-
Protection level of the import job.
PROTECTION_LEVEL
must be one of:software
,hsm
.
- OPTIONAL FLAGS
-
--keyring
=KEYRING
- Key ring of the import job.
--location
=LOCATION
- Location of the import job.
- 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 help
for details. - NOTES
-
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct project,
you might be trying to access an API with an invitation-only early access
allowlist. These variants are also available:
gcloud kms import-jobs create
gcloud beta kms import-jobs create
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 2024-02-06 UTC.