Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.cloudkms/v1.getImportJob
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Returns metadata for a given ImportJob.
Using getImportJob
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getImportJob(args: GetImportJobArgs, opts?: InvokeOptions): Promise<GetImportJobResult>
function getImportJobOutput(args: GetImportJobOutputArgs, opts?: InvokeOptions): Output<GetImportJobResult>def get_import_job(import_job_id: Optional[str] = None,
                   key_ring_id: Optional[str] = None,
                   location: Optional[str] = None,
                   project: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetImportJobResult
def get_import_job_output(import_job_id: Optional[pulumi.Input[str]] = None,
                   key_ring_id: Optional[pulumi.Input[str]] = None,
                   location: Optional[pulumi.Input[str]] = None,
                   project: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetImportJobResult]func LookupImportJob(ctx *Context, args *LookupImportJobArgs, opts ...InvokeOption) (*LookupImportJobResult, error)
func LookupImportJobOutput(ctx *Context, args *LookupImportJobOutputArgs, opts ...InvokeOption) LookupImportJobResultOutput> Note: This function is named LookupImportJob in the Go SDK.
public static class GetImportJob 
{
    public static Task<GetImportJobResult> InvokeAsync(GetImportJobArgs args, InvokeOptions? opts = null)
    public static Output<GetImportJobResult> Invoke(GetImportJobInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetImportJobResult> getImportJob(GetImportJobArgs args, InvokeOptions options)
public static Output<GetImportJobResult> getImportJob(GetImportJobArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:cloudkms/v1:getImportJob
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ImportJob stringId 
- KeyRing stringId 
- Location string
- Project string
- ImportJob stringId 
- KeyRing stringId 
- Location string
- Project string
- importJob StringId 
- keyRing StringId 
- location String
- project String
- importJob stringId 
- keyRing stringId 
- location string
- project string
- import_job_ strid 
- key_ring_ strid 
- location str
- project str
- importJob StringId 
- keyRing StringId 
- location String
- project String
getImportJob Result
The following output properties are available:
- 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.
- CreateTime string
- The time at which this ImportJob was created.
- ExpireEvent stringTime 
- The time this ImportJob expired. Only present if state is EXPIRED.
- ExpireTime string
- The time at which this ImportJob is scheduled for expiration and can no longer be used to import key material.
- GenerateTime string
- The time this ImportJob's key material was generated.
- ImportMethod string
- Immutable. The wrapping method to be used for incoming key material.
- Name string
- The resource name for this ImportJob in the format projects/*/locations/*/keyRings/*/importJobs/*.
- ProtectionLevel string
- 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.
- PublicKey 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
KeyOperation 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.
- CreateTime string
- The time at which this ImportJob was created.
- ExpireEvent stringTime 
- The time this ImportJob expired. Only present if state is EXPIRED.
- ExpireTime string
- The time at which this ImportJob is scheduled for expiration and can no longer be used to import key material.
- GenerateTime string
- The time this ImportJob's key material was generated.
- ImportMethod string
- Immutable. The wrapping method to be used for incoming key material.
- Name string
- The resource name for this ImportJob in the format projects/*/locations/*/keyRings/*/importJobs/*.
- ProtectionLevel string
- 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.
- PublicKey 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
KeyOperation 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.
- createTime String
- The time at which this ImportJob was created.
- expireEvent StringTime 
- The time this ImportJob expired. Only present if state is EXPIRED.
- expireTime String
- The time at which this ImportJob is scheduled for expiration and can no longer be used to import key material.
- generateTime String
- The time this ImportJob's key material was generated.
- importMethod String
- Immutable. The wrapping method to be used for incoming key material.
- name String
- The resource name for this ImportJob in the format projects/*/locations/*/keyRings/*/importJobs/*.
- protectionLevel String
- 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.
- publicKey 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
KeyOperation 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.
- createTime string
- The time at which this ImportJob was created.
- expireEvent stringTime 
- The time this ImportJob expired. Only present if state is EXPIRED.
- expireTime string
- The time at which this ImportJob is scheduled for expiration and can no longer be used to import key material.
- generateTime string
- The time this ImportJob's key material was generated.
- importMethod string
- Immutable. The wrapping method to be used for incoming key material.
- name string
- The resource name for this ImportJob in the format projects/*/locations/*/keyRings/*/importJobs/*.
- protectionLevel string
- 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.
- publicKey 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
KeyOperation 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.
- import_method str
- Immutable. The wrapping method to be used for incoming key material.
- name str
- The resource name for this ImportJob in the format projects/*/locations/*/keyRings/*/importJobs/*.
- protection_level str
- 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.
- 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.
- createTime String
- The time at which this ImportJob was created.
- expireEvent StringTime 
- The time this ImportJob expired. Only present if state is EXPIRED.
- expireTime String
- The time at which this ImportJob is scheduled for expiration and can no longer be used to import key material.
- generateTime String
- The time this ImportJob's key material was generated.
- importMethod String
- Immutable. The wrapping method to be used for incoming key material.
- name String
- The resource name for this ImportJob in the format projects/*/locations/*/keyRings/*/importJobs/*.
- protectionLevel String
- 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.
- publicKey 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.
Supporting Types
CertificateChainsResponse  
- CaviumCerts List<string>
- Cavium certificate chain corresponding to the attestation.
- GoogleCard List<string>Certs 
- Google card certificate chain corresponding to the attestation.
- GooglePartition List<string>Certs 
- Google partition certificate chain corresponding to the attestation.
- CaviumCerts []string
- Cavium certificate chain corresponding to the attestation.
- GoogleCard []stringCerts 
- Google card certificate chain corresponding to the attestation.
- GooglePartition []stringCerts 
- Google partition certificate chain corresponding to the attestation.
- caviumCerts List<String>
- Cavium certificate chain corresponding to the attestation.
- googleCard List<String>Certs 
- Google card certificate chain corresponding to the attestation.
- googlePartition List<String>Certs 
- Google partition certificate chain corresponding to the attestation.
- caviumCerts string[]
- Cavium certificate chain corresponding to the attestation.
- googleCard string[]Certs 
- Google card certificate chain corresponding to the attestation.
- googlePartition 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.
- caviumCerts List<String>
- Cavium certificate chain corresponding to the attestation.
- googleCard List<String>Certs 
- Google card certificate chain corresponding to the attestation.
- googlePartition List<String>Certs 
- Google partition certificate chain corresponding to the attestation.
KeyOperationAttestationResponse   
- CertChains 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.
- CertChains 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.
- certChains 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.
- certChains 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.
- certChains 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   
- 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
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi