Google Native

Pulumi Official
Package maintained by Pulumi
v0.23.0 published on Thursday, Aug 11, 2022 by Pulumi

getImportJob

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)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: google-native:cloudkms/v1:getImportJob
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ImportJobId string
KeyRingId string
Location string
Project string
ImportJobId string
KeyRingId string
Location string
Project string
importJobId String
keyRingId String
location String
project String
importJobId string
keyRingId string
location string
project string
importJobId String
keyRingId String
location String
project String

getImportJob Result

The following output properties are available:

Attestation Pulumi.GoogleNative.Cloudkms.V1.Outputs.KeyOperationAttestationResponse

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.

ExpireEventTime string

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.GoogleNative.Cloudkms.V1.Outputs.WrappingPublicKeyResponse

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 KeyOperationAttestationResponse

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.

ExpireEventTime string

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 WrappingPublicKeyResponse

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 KeyOperationAttestationResponse

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.

expireEventTime String

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 WrappingPublicKeyResponse

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 KeyOperationAttestationResponse

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.

expireEventTime string

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 WrappingPublicKeyResponse

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 KeyOperationAttestationResponse

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_time str

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 WrappingPublicKeyResponse

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.

expireEventTime String

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.

GoogleCardCerts List<string>

Google card certificate chain corresponding to the attestation.

GooglePartitionCerts List<string>

Google partition certificate chain corresponding to the attestation.

CaviumCerts []string

Cavium certificate chain corresponding to the attestation.

GoogleCardCerts []string

Google card certificate chain corresponding to the attestation.

GooglePartitionCerts []string

Google partition certificate chain corresponding to the attestation.

caviumCerts List<String>

Cavium certificate chain corresponding to the attestation.

googleCardCerts List<String>

Google card certificate chain corresponding to the attestation.

googlePartitionCerts List<String>

Google partition certificate chain corresponding to the attestation.

caviumCerts string[]

Cavium certificate chain corresponding to the attestation.

googleCardCerts string[]

Google card certificate chain corresponding to the attestation.

googlePartitionCerts string[]

Google partition certificate chain corresponding to the attestation.

cavium_certs Sequence[str]

Cavium certificate chain corresponding to the attestation.

google_card_certs Sequence[str]

Google card certificate chain corresponding to the attestation.

google_partition_certs Sequence[str]

Google partition certificate chain corresponding to the attestation.

caviumCerts List<String>

Cavium certificate chain corresponding to the attestation.

googleCardCerts List<String>

Google card certificate chain corresponding to the attestation.

googlePartitionCerts List<String>

Google partition certificate chain corresponding to the attestation.

KeyOperationAttestationResponse

CertChains Pulumi.GoogleNative.Cloudkms.V1.Inputs.CertificateChainsResponse

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 CertificateChainsResponse

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 CertificateChainsResponse

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 CertificateChainsResponse

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 CertificateChainsResponse

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
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0