KeyRingImportJob

Create a KeyRingImportJob Resource

def KeyRingImportJob(resource_name, opts=None, import_job_id=None, import_method=None, key_ring=None, protection_level=None, __props__=None);
name string
The unique name of the resource.
args KeyRingImportJobArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args KeyRingImportJobArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args KeyRingImportJobArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

KeyRingImportJob Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The KeyRingImportJob resource accepts the following input properties:

ImportJobId string

It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}

ImportMethod string

The wrapping method to be used for incoming key material.

KeyRing string

The KeyRing that this import job belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.

ProtectionLevel string

The protection level of the ImportJob. This must match the protectionLevel of the versionTemplate on the CryptoKey you attempt to import into.

ImportJobId string

It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}

ImportMethod string

The wrapping method to be used for incoming key material.

KeyRing string

The KeyRing that this import job belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.

ProtectionLevel string

The protection level of the ImportJob. This must match the protectionLevel of the versionTemplate on the CryptoKey you attempt to import into.

importJobId string

It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}

importMethod string

The wrapping method to be used for incoming key material.

keyRing string

The KeyRing that this import job belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.

protectionLevel string

The protection level of the ImportJob. This must match the protectionLevel of the versionTemplate on the CryptoKey you attempt to import into.

import_job_id str

It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}

import_method str

The wrapping method to be used for incoming key material.

key_ring str

The KeyRing that this import job belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.

protection_level str

The protection level of the ImportJob. This must match the protectionLevel of the versionTemplate on the CryptoKey you attempt to import into.

Outputs

All input properties are implicitly available as output properties. Additionally, the KeyRingImportJob resource produces the following output properties:

Attestation KeyRingImportJobAttestation

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.

ExpireTime string

The time at which this resource is scheduled for expiration and can no longer be used. This is in RFC3339 text format.

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/.

PublicKey KeyRingImportJobPublicKey

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 KeyRingImportJobAttestation

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.

ExpireTime string

The time at which this resource is scheduled for expiration and can no longer be used. This is in RFC3339 text format.

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/.

PublicKey KeyRingImportJobPublicKey

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 KeyRingImportJobAttestation

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.

expireTime string

The time at which this resource is scheduled for expiration and can no longer be used. This is in RFC3339 text format.

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/.

publicKey KeyRingImportJobPublicKey

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 Dict[KeyRingImportJobAttestation]

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.

expire_time str

The time at which this resource is scheduled for expiration and can no longer be used. This is in RFC3339 text format.

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 Dict[KeyRingImportJobPublicKey]

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.

Look up an Existing KeyRingImportJob Resource

Get an existing KeyRingImportJob 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>, state?: KeyRingImportJobState, opts?: CustomResourceOptions): KeyRingImportJob
static get(resource_name, id, opts=None, attestation=None, expire_time=None, import_job_id=None, import_method=None, key_ring=None, name=None, protection_level=None, public_key=None, state=None, __props__=None);
func GetKeyRingImportJob(ctx *Context, name string, id IDInput, state *KeyRingImportJobState, opts ...ResourceOption) (*KeyRingImportJob, error)
public static KeyRingImportJob Get(string name, Input<string> id, KeyRingImportJobState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Attestation KeyRingImportJobAttestationArgs

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.

ExpireTime string

The time at which this resource is scheduled for expiration and can no longer be used. This is in RFC3339 text format.

ImportJobId string

It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}

ImportMethod string

The wrapping method to be used for incoming key material.

KeyRing string

The KeyRing that this import job belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.

Name string

The resource name for this ImportJob in the format projects//locations//keyRings//importJobs/.

ProtectionLevel string

The protection level of the ImportJob. This must match the protectionLevel of the versionTemplate on the CryptoKey you attempt to import into.

PublicKey KeyRingImportJobPublicKeyArgs

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 KeyRingImportJobAttestation

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.

ExpireTime string

The time at which this resource is scheduled for expiration and can no longer be used. This is in RFC3339 text format.

ImportJobId string

It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}

ImportMethod string

The wrapping method to be used for incoming key material.

KeyRing string

The KeyRing that this import job belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.

Name string

The resource name for this ImportJob in the format projects//locations//keyRings//importJobs/.

ProtectionLevel string

The protection level of the ImportJob. This must match the protectionLevel of the versionTemplate on the CryptoKey you attempt to import into.

PublicKey KeyRingImportJobPublicKey

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 KeyRingImportJobAttestation

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.

expireTime string

The time at which this resource is scheduled for expiration and can no longer be used. This is in RFC3339 text format.

importJobId string

It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}

importMethod string

The wrapping method to be used for incoming key material.

keyRing string

The KeyRing that this import job belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.

name string

The resource name for this ImportJob in the format projects//locations//keyRings//importJobs/.

protectionLevel string

The protection level of the ImportJob. This must match the protectionLevel of the versionTemplate on the CryptoKey you attempt to import into.

publicKey KeyRingImportJobPublicKey

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 Dict[KeyRingImportJobAttestation]

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.

expire_time str

The time at which this resource is scheduled for expiration and can no longer be used. This is in RFC3339 text format.

import_job_id str

It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}

import_method str

The wrapping method to be used for incoming key material.

key_ring str

The KeyRing that this import job belongs to. Format: 'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.

name str

The resource name for this ImportJob in the format projects//locations//keyRings//importJobs/.

protection_level str

The protection level of the ImportJob. This must match the protectionLevel of the versionTemplate on the CryptoKey you attempt to import into.

public_key Dict[KeyRingImportJobPublicKey]

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.

Supporting Types

KeyRingImportJobAttestation

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Content string
Format string
Content string
Format string
content string
format string
content str
format str

KeyRingImportJobPublicKey

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Pem string
Pem string
pem string
pem str

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.