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)
// 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:
- Import
Job stringId - Key
Ring stringId - Location string
- Project string
- Import
Job stringId - Key
Ring stringId - Location string
- Project string
- import
Job StringId - key
Ring StringId - location String
- project String
- import
Job stringId - key
Ring stringId - location string
- project string
- import_
job_ strid - key_
ring_ strid - location str
- project str
- import
Job StringId - key
Ring 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.
- 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.
- Import
Method 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/*
. - Protection
Level 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.
- 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.
- Import
Method 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/*
. - Protection
Level 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.
- 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.
- import
Method 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/*
. - protection
Level 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.
- 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.
- import
Method 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/*
. - protection
Level 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.
- 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.
- 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.
- 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.
- import
Method 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/*
. - protection
Level 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.
- 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.
Supporting Types
CertificateChainsResponse
- 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 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.
KeyOperationAttestationResponse
- 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 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
- 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