Skip to main content

google_kms_key_ring_import_jobs resource

Use the google_kms_key_ring_import_jobs InSpec audit resource to to test a Google Cloud KeyRingImportJob resource.

Examples

describe google_kms_key_ring_import_job(project: 'chef-gcp-inspec',  location: 'europe-west2') do
  it { should exist }
end

Properties

Properties that can be accessed from the google_kms_key_ring_import_jobs resource:

See google_kms_key_ring_import_job for more detailed information.

  • names: an array of google_kms_key_ring_import_job name
  • import_methods: an array of google_kms_key_ring_import_job import_method
  • protection_levels: an array of google_kms_key_ring_import_job protection_level
  • create_times: an array of google_kms_key_ring_import_job create_time
  • generate_times: an array of google_kms_key_ring_import_job generate_time
  • expire_times: an array of google_kms_key_ring_import_job expire_time
  • expire_event_times: an array of google_kms_key_ring_import_job expire_event_time
  • states: an array of google_kms_key_ring_import_job state
  • public_keys: an array of google_kms_key_ring_import_job public_key
  • attestations: an array of google_kms_key_ring_import_job attestation
  • key_rings: an array of google_kms_key_ring_import_job key_ring
  • import_job_ids: an array of google_kms_key_ring_import_job import_job_id

Filter criteria

This resource supports all of the above properties as filter criteria, which can be used with where as a block or a method.

GCP permissions

Ensure the Cloud Key Management Service (KMS) API is enabled for the current project.

Thank you for your feedback!

×