KeyRingImportJob
Create a KeyRingImportJob Resource
new KeyRingImportJob(name: string, args: KeyRingImportJobArgs, opts?: CustomResourceOptions);def KeyRingImportJob(resource_name, opts=None, import_job_id=None, import_method=None, key_ring=None, protection_level=None, __props__=None);func NewKeyRingImportJob(ctx *Context, name string, args KeyRingImportJobArgs, opts ...ResourceOption) (*KeyRingImportJob, error)public KeyRingImportJob(string name, KeyRingImportJobArgs args, CustomResourceOptions? opts = null)- 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:
- Import
Job stringId It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}
- Import
Method string The wrapping method to be used for incoming key material.
- Key
Ring string The KeyRing that this import job belongs to. Format:
'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.- Protection
Level 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 stringId It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}
- Import
Method string The wrapping method to be used for incoming key material.
- Key
Ring string The KeyRing that this import job belongs to. Format:
'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.- Protection
Level 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 stringId It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}
- import
Method string The wrapping method to be used for incoming key material.
- key
Ring string The KeyRing that this import job belongs to. Format:
'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'.- protection
Level 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_ strid 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
Key
Ring Import Job Attestation 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 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/.
- Public
Key KeyRing Import Job Public Key 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
Ring Import Job Attestation 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 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/.
- Public
Key KeyRing Import Job Public Key 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
Ring Import Job Attestation 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 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/.
- public
Key KeyRing Import Job Public Key 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[Key
Ring Import Job Attestation] 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[KeyRing Import Job Public Key] 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): KeyRingImportJobstatic 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
Key
Ring Import Job Attestation Args 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 string The time at which this resource is scheduled for expiration and can no longer be used. This is in RFC3339 text format.
- Import
Job stringId It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}
- Import
Method string The wrapping method to be used for incoming key material.
- Key
Ring 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/.
- Protection
Level string The protection level of the ImportJob. This must match the protectionLevel of the versionTemplate on the CryptoKey you attempt to import into.
- Public
Key KeyRing Import Job Public Key Args 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
Ring Import Job Attestation 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 string The time at which this resource is scheduled for expiration and can no longer be used. This is in RFC3339 text format.
- Import
Job stringId It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}
- Import
Method string The wrapping method to be used for incoming key material.
- Key
Ring 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/.
- Protection
Level string The protection level of the ImportJob. This must match the protectionLevel of the versionTemplate on the CryptoKey you attempt to import into.
- Public
Key KeyRing Import Job Public Key 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
Ring Import Job Attestation 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 string The time at which this resource is scheduled for expiration and can no longer be used. This is in RFC3339 text format.
- import
Job stringId It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}
- import
Method string The wrapping method to be used for incoming key material.
- key
Ring 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/.
- protection
Level string The protection level of the ImportJob. This must match the protectionLevel of the versionTemplate on the CryptoKey you attempt to import into.
- public
Key KeyRing Import Job Public Key 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[Key
Ring Import Job Attestation] 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_ strid 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[KeyRing Import Job Public Key] 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.
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.
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.