This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
Create a new ImportJob within a KeyRing. ImportJob.import_method is required. Note - this resource’s API doesn’t support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
Create ImportJob Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ImportJob(name: string, args: ImportJobArgs, opts?: CustomResourceOptions);@overload
def ImportJob(resource_name: str,
args: ImportJobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ImportJob(resource_name: str,
opts: Optional[ResourceOptions] = None,
import_method: Optional[ImportJobImportMethod] = None,
key_ring_id: Optional[str] = None,
protection_level: Optional[ImportJobProtectionLevel] = None,
import_job_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None)func NewImportJob(ctx *Context, name string, args ImportJobArgs, opts ...ResourceOption) (*ImportJob, error)public ImportJob(string name, ImportJobArgs args, CustomResourceOptions? opts = null)
public ImportJob(String name, ImportJobArgs args)
public ImportJob(String name, ImportJobArgs args, CustomResourceOptions options)
type: google-native:cloudkms/v1:ImportJob
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "google-native_cloudkms_v1_import_job" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ImportJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ImportJobArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ImportJobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ImportJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ImportJobArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var importJobResource = new GoogleNative.Cloudkms.V1.ImportJob("importJobResource", new()
{
ImportMethod = GoogleNative.Cloudkms.V1.ImportJobImportMethod.ImportMethodUnspecified,
KeyRingId = "string",
ProtectionLevel = GoogleNative.Cloudkms.V1.ImportJobProtectionLevel.ProtectionLevelUnspecified,
ImportJobId = "string",
Location = "string",
Project = "string",
});
example, err := cloudkms.NewImportJob(ctx, "importJobResource", &cloudkms.ImportJobArgs{
ImportMethod: cloudkms.ImportJobImportMethodImportMethodUnspecified,
KeyRingId: pulumi.String("string"),
ProtectionLevel: cloudkms.ImportJobProtectionLevelProtectionLevelUnspecified,
ImportJobId: pulumi.String("string"),
Location: pulumi.String("string"),
Project: pulumi.String("string"),
})
resource "google-native_cloudkms_v1_import_job" "importJobResource" {
lifecycle {
create_before_destroy = true
}
import_method = "IMPORT_METHOD_UNSPECIFIED"
key_ring_id = "string"
protection_level = "PROTECTION_LEVEL_UNSPECIFIED"
import_job_id = "string"
location = "string"
project = "string"
}
var importJobResource = new com.pulumi.googlenative.cloudkms_v1.ImportJob("importJobResource", com.pulumi.googlenative.cloudkms_v1.ImportJobArgs.builder()
.importMethod(com.pulumi.googlenative.cloudkms_v1.enums.ImportJobImportMethod.ImportMethodUnspecified)
.keyRingId("string")
.protectionLevel(com.pulumi.googlenative.cloudkms_v1.enums.ImportJobProtectionLevel.ProtectionLevelUnspecified)
.importJobId("string")
.location("string")
.project("string")
.build());
import_job_resource = google_native.cloudkms.v1.ImportJob("importJobResource",
import_method=google_native.cloudkms.v1.ImportJobImportMethod.IMPORT_METHOD_UNSPECIFIED,
key_ring_id="string",
protection_level=google_native.cloudkms.v1.ImportJobProtectionLevel.PROTECTION_LEVEL_UNSPECIFIED,
import_job_id="string",
location="string",
project="string")
const importJobResource = new google_native.cloudkms.v1.ImportJob("importJobResource", {
importMethod: google_native.cloudkms.v1.ImportJobImportMethod.ImportMethodUnspecified,
keyRingId: "string",
protectionLevel: google_native.cloudkms.v1.ImportJobProtectionLevel.ProtectionLevelUnspecified,
importJobId: "string",
location: "string",
project: "string",
});
type: google-native:cloudkms/v1:ImportJob
properties:
importJobId: string
importMethod: IMPORT_METHOD_UNSPECIFIED
keyRingId: string
location: string
project: string
protectionLevel: PROTECTION_LEVEL_UNSPECIFIED
ImportJob Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ImportJob resource accepts the following input properties:
- Import
Method Pulumi.Google Native. Cloudkms. V1. Import Job Import Method - Immutable. The wrapping method to be used for incoming key material.
- Key
Ring stringId - Protection
Level Pulumi.Google Native. Cloudkms. V1. Import Job Protection Level - Immutable. The protection level of the ImportJob. This must match the protection_level of the version_template on the CryptoKey you attempt to import into.
- Import
Job stringId - Required. It must be unique within a KeyRing and match the regular expression
[a-zA-Z0-9_-]{1,63} - Location string
- Project string
- Import
Method ImportJob Import Method - Immutable. The wrapping method to be used for incoming key material.
- Key
Ring stringId - Protection
Level ImportJob Protection Level - Immutable. The protection level of the ImportJob. This must match the protection_level of the version_template on the CryptoKey you attempt to import into.
- Import
Job stringId - Required. It must be unique within a KeyRing and match the regular expression
[a-zA-Z0-9_-]{1,63} - Location string
- Project string
- import_
method "IMPORT_METHOD_UNSPECIFIED" | "RSA_OAEP_3072_SHA1_AES_256" | "RSA_OAEP_4096_SHA1_AES_256" | "RSA_OAEP_3072_SHA256_AES_256" | "RSA_OAEP_4096_SHA256_AES_256" | "RSA_OAEP_3072_SHA256" | "RSA_OAEP_4096_SHA256" - Immutable. The wrapping method to be used for incoming key material.
- key_
ring_ stringid - protection_
level "PROTECTION_LEVEL_UNSPECIFIED" | "SOFTWARE" | "HSM" | "EXTERNAL" | "EXTERNAL_VPC" - Immutable. The protection level of the ImportJob. This must match the protection_level of the version_template on the CryptoKey you attempt to import into.
- import_
job_ stringid - Required. It must be unique within a KeyRing and match the regular expression
[a-zA-Z0-9_-]{1,63} - location string
- project string
- import
Method ImportJob Import Method - Immutable. The wrapping method to be used for incoming key material.
- key
Ring StringId - protection
Level ImportJob Protection Level - Immutable. The protection level of the ImportJob. This must match the protection_level of the version_template on the CryptoKey you attempt to import into.
- import
Job StringId - Required. It must be unique within a KeyRing and match the regular expression
[a-zA-Z0-9_-]{1,63} - location String
- project String
- import
Method ImportJob Import Method - Immutable. The wrapping method to be used for incoming key material.
- key
Ring stringId - protection
Level ImportJob Protection Level - Immutable. The protection level of the ImportJob. This must match the protection_level of the version_template on the CryptoKey you attempt to import into.
- import
Job stringId - Required. It must be unique within a KeyRing and match the regular expression
[a-zA-Z0-9_-]{1,63} - location string
- project string
- import_
method ImportJob Import Method - Immutable. The wrapping method to be used for incoming key material.
- key_
ring_ strid - protection_
level ImportJob Protection Level - Immutable. The protection level of the ImportJob. This must match the protection_level of the version_template on the CryptoKey you attempt to import into.
- import_
job_ strid - Required. It must be unique within a KeyRing and match the regular expression
[a-zA-Z0-9_-]{1,63} - location str
- project str
- import
Method "IMPORT_METHOD_UNSPECIFIED" | "RSA_OAEP_3072_SHA1_AES_256" | "RSA_OAEP_4096_SHA1_AES_256" | "RSA_OAEP_3072_SHA256_AES_256" | "RSA_OAEP_4096_SHA256_AES_256" | "RSA_OAEP_3072_SHA256" | "RSA_OAEP_4096_SHA256" - Immutable. The wrapping method to be used for incoming key material.
- key
Ring StringId - protection
Level "PROTECTION_LEVEL_UNSPECIFIED" | "SOFTWARE" | "HSM" | "EXTERNAL" | "EXTERNAL_VPC" - Immutable. The protection level of the ImportJob. This must match the protection_level of the version_template on the CryptoKey you attempt to import into.
- import
Job StringId - Required. It must be unique within a KeyRing and match the regular expression
[a-zA-Z0-9_-]{1,63} - location String
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the ImportJob resource produces the following output properties:
- Attestation
Pulumi.
Google Native. Cloudkms. V1. Outputs. Key Operation Attestation Response - Statement that was generated and signed by the key creator (for example, an HSM) at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only present if the chosen ImportMethod is one with a protection level of HSM.
- Create
Time string - The time at which this ImportJob was created.
- Expire
Event stringTime - The time this ImportJob expired. Only present if state is EXPIRED.
- Expire
Time string - The time at which this ImportJob is scheduled for expiration and can no longer be used to import key material.
- Generate
Time string - The time this ImportJob's key material was generated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource name for this ImportJob in the format
projects/*/locations/*/keyRings/*/importJobs/*. - Public
Key Pulumi.Google Native. Cloudkms. V1. Outputs. Wrapping Public Key Response - The public key with which to wrap key material prior to import. Only returned if state is ACTIVE.
- State string
- The current state of the ImportJob, indicating if it can be used.
- Attestation
Key
Operation Attestation Response - Statement that was generated and signed by the key creator (for example, an HSM) at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only present if the chosen ImportMethod is one with a protection level of HSM.
- Create
Time string - The time at which this ImportJob was created.
- Expire
Event stringTime - The time this ImportJob expired. Only present if state is EXPIRED.
- Expire
Time string - The time at which this ImportJob is scheduled for expiration and can no longer be used to import key material.
- Generate
Time string - The time this ImportJob's key material was generated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource name for this ImportJob in the format
projects/*/locations/*/keyRings/*/importJobs/*. - Public
Key WrappingPublic Key Response - The public key with which to wrap key material prior to import. Only returned if state is ACTIVE.
- State string
- The current state of the ImportJob, indicating if it can be used.
- attestation object
- Statement that was generated and signed by the key creator (for example, an HSM) at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only present if the chosen ImportMethod is one with a protection level of HSM.
- create_
time string - The time at which this ImportJob was created.
- expire_
event_ stringtime - The time this ImportJob expired. Only present if state is EXPIRED.
- expire_
time string - The time at which this ImportJob is scheduled for expiration and can no longer be used to import key material.
- generate_
time string - The time this ImportJob's key material was generated.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The resource name for this ImportJob in the format
projects/*/locations/*/keyRings/*/importJobs/*. - public_
key object - The public key with which to wrap key material prior to import. Only returned if state is ACTIVE.
- state string
- The current state of the ImportJob, indicating if it can be used.
- attestation
Key
Operation Attestation Response - Statement that was generated and signed by the key creator (for example, an HSM) at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only present if the chosen ImportMethod is one with a protection level of HSM.
- create
Time String - The time at which this ImportJob was created.
- expire
Event StringTime - The time this ImportJob expired. Only present if state is EXPIRED.
- expire
Time String - The time at which this ImportJob is scheduled for expiration and can no longer be used to import key material.
- generate
Time String - The time this ImportJob's key material was generated.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource name for this ImportJob in the format
projects/*/locations/*/keyRings/*/importJobs/*. - public
Key WrappingPublic Key Response - The public key with which to wrap key material prior to import. Only returned if state is ACTIVE.
- state String
- The current state of the ImportJob, indicating if it can be used.
- attestation
Key
Operation Attestation Response - Statement that was generated and signed by the key creator (for example, an HSM) at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only present if the chosen ImportMethod is one with a protection level of HSM.
- create
Time string - The time at which this ImportJob was created.
- expire
Event stringTime - The time this ImportJob expired. Only present if state is EXPIRED.
- expire
Time string - The time at which this ImportJob is scheduled for expiration and can no longer be used to import key material.
- generate
Time string - The time this ImportJob's key material was generated.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The resource name for this ImportJob in the format
projects/*/locations/*/keyRings/*/importJobs/*. - public
Key WrappingPublic Key Response - The public key with which to wrap key material prior to import. Only returned if state is ACTIVE.
- state string
- The current state of the ImportJob, indicating if it can be used.
- attestation
Key
Operation Attestation Response - Statement that was generated and signed by the key creator (for example, an HSM) at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only present if the chosen ImportMethod is one with a protection level of HSM.
- create_
time str - The time at which this ImportJob was created.
- expire_
event_ strtime - The time this ImportJob expired. Only present if state is EXPIRED.
- expire_
time str - The time at which this ImportJob is scheduled for expiration and can no longer be used to import key material.
- generate_
time str - The time this ImportJob's key material was generated.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The resource name for this ImportJob in the format
projects/*/locations/*/keyRings/*/importJobs/*. - public_
key WrappingPublic Key Response - The public key with which to wrap key material prior to import. Only returned if state is ACTIVE.
- state str
- The current state of the ImportJob, indicating if it can be used.
- attestation Property Map
- Statement that was generated and signed by the key creator (for example, an HSM) at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only present if the chosen ImportMethod is one with a protection level of HSM.
- create
Time String - The time at which this ImportJob was created.
- expire
Event StringTime - The time this ImportJob expired. Only present if state is EXPIRED.
- expire
Time String - The time at which this ImportJob is scheduled for expiration and can no longer be used to import key material.
- generate
Time String - The time this ImportJob's key material was generated.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource name for this ImportJob in the format
projects/*/locations/*/keyRings/*/importJobs/*. - public
Key Property Map - The public key with which to wrap key material prior to import. Only returned if state is ACTIVE.
- state String
- The current state of the ImportJob, indicating if it can be used.
Look up Existing ImportJob Resource
Get an existing ImportJob resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): ImportJob@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> ImportJobfunc GetImportJob(ctx *Context, name string, id IDInput, state *ImportJobState, opts ...ResourceOption) (*ImportJob, error)public static ImportJob Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static ImportJob get(String name, Output<String> id, CustomResourceOptions options)resources: existingImportJob: type: google-native:cloudkms/v1:ImportJob get: id: ${id}import {
to = google-native_cloudkms_v1_import_job.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state ImportJobState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
CertificateChainsResponse
Certificate chains needed to verify the attestation. Certificates in chains are PEM-encoded and are ordered based on https://tools.ietf.org/html/rfc5246#section-7.4.2.
- Cavium
Certs List<string> - Cavium certificate chain corresponding to the attestation.
- Google
Card List<string>Certs - Google card certificate chain corresponding to the attestation.
- Google
Partition List<string>Certs - Google partition certificate chain corresponding to the attestation.
- Cavium
Certs []string - Cavium certificate chain corresponding to the attestation.
- Google
Card []stringCerts - Google card certificate chain corresponding to the attestation.
- Google
Partition []stringCerts - Google partition certificate chain corresponding to the attestation.
- cavium_
certs list(string) - Cavium certificate chain corresponding to the attestation.
- google_
card_ list(string)certs - Google card certificate chain corresponding to the attestation.
- google_
partition_ list(string)certs - Google partition certificate chain corresponding to the attestation.
- cavium
Certs List<String> - Cavium certificate chain corresponding to the attestation.
- google
Card List<String>Certs - Google card certificate chain corresponding to the attestation.
- google
Partition List<String>Certs - Google partition certificate chain corresponding to the attestation.
- cavium
Certs string[] - Cavium certificate chain corresponding to the attestation.
- google
Card string[]Certs - Google card certificate chain corresponding to the attestation.
- google
Partition string[]Certs - Google partition certificate chain corresponding to the attestation.
- cavium_
certs Sequence[str] - Cavium certificate chain corresponding to the attestation.
- google_
card_ Sequence[str]certs - Google card certificate chain corresponding to the attestation.
- google_
partition_ Sequence[str]certs - Google partition certificate chain corresponding to the attestation.
- cavium
Certs List<String> - Cavium certificate chain corresponding to the attestation.
- google
Card List<String>Certs - Google card certificate chain corresponding to the attestation.
- google
Partition List<String>Certs - Google partition certificate chain corresponding to the attestation.
ImportJobImportMethod
Required. Immutable. The wrapping method to be used for incoming key material.
| Name | Value | Description |
|---|---|---|
| Import | IMPORT_METHOD_UNSPECIFIED | Not specified. |
| Rsa | RSA_OAEP_3072_SHA1_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| Rsa | RSA_OAEP_4096_SHA1_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| Rsa | RSA_OAEP_3072_SHA256_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| Rsa | RSA_OAEP_4096_SHA256_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| Rsa | RSA_OAEP_3072_SHA256 | This ImportMethod represents RSAES-OAEP with a 3072 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import. |
| Rsa | RSA_OAEP_4096_SHA256 | This ImportMethod represents RSAES-OAEP with a 4096 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import. |
| Name | Value | Description |
|---|---|---|
| Import | IMPORT_METHOD_UNSPECIFIED | Not specified. |
| Import | RSA_OAEP_3072_SHA1_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| Import | RSA_OAEP_4096_SHA1_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| Import | RSA_OAEP_3072_SHA256_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| Import | RSA_OAEP_4096_SHA256_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| Import | RSA_OAEP_3072_SHA256 | This ImportMethod represents RSAES-OAEP with a 3072 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import. |
| Import | RSA_OAEP_4096_SHA256 | This ImportMethod represents RSAES-OAEP with a 4096 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import. |
| Value | Description |
|---|---|
IMPORT_METHOD_UNSPECIFIED | Not specified. |
RSA_OAEP_3072_SHA1_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism. |
RSA_OAEP_4096_SHA1_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism. |
RSA_OAEP_3072_SHA256_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism. |
RSA_OAEP_4096_SHA256_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism. |
RSA_OAEP_3072_SHA256 | This ImportMethod represents RSAES-OAEP with a 3072 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import. |
RSA_OAEP_4096_SHA256 | This ImportMethod represents RSAES-OAEP with a 4096 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import. |
| Name | Value | Description |
|---|---|---|
| Import | IMPORT_METHOD_UNSPECIFIED | Not specified. |
| Rsa | RSA_OAEP_3072_SHA1_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| Rsa | RSA_OAEP_4096_SHA1_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| Rsa | RSA_OAEP_3072_SHA256_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| Rsa | RSA_OAEP_4096_SHA256_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| Rsa | RSA_OAEP_3072_SHA256 | This ImportMethod represents RSAES-OAEP with a 3072 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import. |
| Rsa | RSA_OAEP_4096_SHA256 | This ImportMethod represents RSAES-OAEP with a 4096 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import. |
| Name | Value | Description |
|---|---|---|
| Import | IMPORT_METHOD_UNSPECIFIED | Not specified. |
| Rsa | RSA_OAEP_3072_SHA1_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| Rsa | RSA_OAEP_4096_SHA1_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| Rsa | RSA_OAEP_3072_SHA256_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| Rsa | RSA_OAEP_4096_SHA256_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| Rsa | RSA_OAEP_3072_SHA256 | This ImportMethod represents RSAES-OAEP with a 3072 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import. |
| Rsa | RSA_OAEP_4096_SHA256 | This ImportMethod represents RSAES-OAEP with a 4096 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import. |
| Name | Value | Description |
|---|---|---|
| IMPORT_METHOD_UNSPECIFIED | IMPORT_METHOD_UNSPECIFIED | Not specified. |
| RSA_OAEP3072_SHA1_AES256 | RSA_OAEP_3072_SHA1_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| RSA_OAEP4096_SHA1_AES256 | RSA_OAEP_4096_SHA1_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| RSA_OAEP3072_SHA256_AES256 | RSA_OAEP_3072_SHA256_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| RSA_OAEP4096_SHA256_AES256 | RSA_OAEP_4096_SHA256_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism. |
| RSA_OAEP3072_SHA256 | RSA_OAEP_3072_SHA256 | This ImportMethod represents RSAES-OAEP with a 3072 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import. |
| RSA_OAEP4096_SHA256 | RSA_OAEP_4096_SHA256 | This ImportMethod represents RSAES-OAEP with a 4096 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import. |
| Value | Description |
|---|---|
IMPORT_METHOD_UNSPECIFIED | Not specified. |
RSA_OAEP_3072_SHA1_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism. |
RSA_OAEP_4096_SHA1_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism. |
RSA_OAEP_3072_SHA256_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism. |
RSA_OAEP_4096_SHA256_AES_256 | This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism. |
RSA_OAEP_3072_SHA256 | This ImportMethod represents RSAES-OAEP with a 3072 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import. |
RSA_OAEP_4096_SHA256 | This ImportMethod represents RSAES-OAEP with a 4096 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import. |
ImportJobProtectionLevel
Required. Immutable. The protection level of the ImportJob. This must match the protection_level of the version_template on the CryptoKey you attempt to import into.
| Name | Value | Description |
|---|---|---|
| Protection | PROTECTION_LEVEL_UNSPECIFIED | Not specified. |
| Software | SOFTWARE | Crypto operations are performed in software. |
| Hsm | HSM | Crypto operations are performed in a Hardware Security Module. |
| External | EXTERNAL | Crypto operations are performed by an external key manager. |
| External | EXTERNAL_VPC | Crypto operations are performed in an EKM-over-VPC backend. |
| Name | Value | Description |
|---|---|---|
| Import | PROTECTION_LEVEL_UNSPECIFIED | Not specified. |
| Import | SOFTWARE | Crypto operations are performed in software. |
| Import | HSM | Crypto operations are performed in a Hardware Security Module. |
| Import | EXTERNAL | Crypto operations are performed by an external key manager. |
| Import | EXTERNAL_VPC | Crypto operations are performed in an EKM-over-VPC backend. |
| Value | Description |
|---|---|
PROTECTION_LEVEL_UNSPECIFIED | Not specified. |
SOFTWARE | Crypto operations are performed in software. |
HSM | Crypto operations are performed in a Hardware Security Module. |
EXTERNAL | Crypto operations are performed by an external key manager. |
EXTERNAL_VPC | Crypto operations are performed in an EKM-over-VPC backend. |
| Name | Value | Description |
|---|---|---|
| Protection | PROTECTION_LEVEL_UNSPECIFIED | Not specified. |
| Software | SOFTWARE | Crypto operations are performed in software. |
| Hsm | HSM | Crypto operations are performed in a Hardware Security Module. |
| External | EXTERNAL | Crypto operations are performed by an external key manager. |
| External | EXTERNAL_VPC | Crypto operations are performed in an EKM-over-VPC backend. |
| Name | Value | Description |
|---|---|---|
| Protection | PROTECTION_LEVEL_UNSPECIFIED | Not specified. |
| Software | SOFTWARE | Crypto operations are performed in software. |
| Hsm | HSM | Crypto operations are performed in a Hardware Security Module. |
| External | EXTERNAL | Crypto operations are performed by an external key manager. |
| External | EXTERNAL_VPC | Crypto operations are performed in an EKM-over-VPC backend. |
| Name | Value | Description |
|---|---|---|
| PROTECTION_LEVEL_UNSPECIFIED | PROTECTION_LEVEL_UNSPECIFIED | Not specified. |
| SOFTWARE | SOFTWARE | Crypto operations are performed in software. |
| HSM | HSM | Crypto operations are performed in a Hardware Security Module. |
| EXTERNAL | EXTERNAL | Crypto operations are performed by an external key manager. |
| EXTERNAL_VPC | EXTERNAL_VPC | Crypto operations are performed in an EKM-over-VPC backend. |
| Value | Description |
|---|---|
PROTECTION_LEVEL_UNSPECIFIED | Not specified. |
SOFTWARE | Crypto operations are performed in software. |
HSM | Crypto operations are performed in a Hardware Security Module. |
EXTERNAL | Crypto operations are performed by an external key manager. |
EXTERNAL_VPC | Crypto operations are performed in an EKM-over-VPC backend. |
KeyOperationAttestationResponse
Contains an HSM-generated attestation about a key operation. For more information, see [Verifying attestations] (https://cloud.google.com/kms/docs/attest-key).
- Cert
Chains Pulumi.Google Native. Cloudkms. V1. Inputs. Certificate Chains Response - The certificate chains needed to validate the attestation
- Content string
- The attestation data provided by the HSM when the key operation was performed.
- Format string
- The format of the attestation data.
- Cert
Chains CertificateChains Response - The certificate chains needed to validate the attestation
- Content string
- The attestation data provided by the HSM when the key operation was performed.
- Format string
- The format of the attestation data.
- cert_
chains object - The certificate chains needed to validate the attestation
- content string
- The attestation data provided by the HSM when the key operation was performed.
- format string
- The format of the attestation data.
- cert
Chains CertificateChains Response - The certificate chains needed to validate the attestation
- content String
- The attestation data provided by the HSM when the key operation was performed.
- format String
- The format of the attestation data.
- cert
Chains CertificateChains Response - The certificate chains needed to validate the attestation
- content string
- The attestation data provided by the HSM when the key operation was performed.
- format string
- The format of the attestation data.
- cert_
chains CertificateChains Response - The certificate chains needed to validate the attestation
- content str
- The attestation data provided by the HSM when the key operation was performed.
- format str
- The format of the attestation data.
- cert
Chains Property Map - The certificate chains needed to validate the attestation
- content String
- The attestation data provided by the HSM when the key operation was performed.
- format String
- The format of the attestation data.
WrappingPublicKeyResponse
The public key component of the wrapping key. For details of the type of key this public key corresponds to, see the ImportMethod.
- Pem string
- The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13).
- Pem string
- The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13).
- pem string
- The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13).
- pem String
- The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13).
- pem string
- The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13).
- pem str
- The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13).
- pem String
- The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13).
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi