title | platform |
---|---|
About the google_kms_crypto_key_versions resource |
gcp |
A google_kms_crypto_key_versions
is used to test a Google CryptoKeyVersion resource
describe google_kms_crypto_key_versions(project: 'chef-gcp-inspec', location: 'europe-west2', key_ring: 'kms-key-ring', crypto_key: '') do
its('count') { should be >= 1 }
its('crypto_key_names') { should include 'kms-key' }
end
Properties that can be accessed from the google_kms_crypto_key_versions
resource:
See google_kms_crypto_key_version.md for more detailed information
names
: an array ofgoogle_kms_crypto_key_version
namecreate_times
: an array ofgoogle_kms_crypto_key_version
create_timegenerate_times
: an array ofgoogle_kms_crypto_key_version
generate_timedestroy_times
: an array ofgoogle_kms_crypto_key_version
destroy_timedestroy_event_times
: an array ofgoogle_kms_crypto_key_version
destroy_event_timestates
: an array ofgoogle_kms_crypto_key_version
stateprotection_levels
: an array ofgoogle_kms_crypto_key_version
protection_levelalgorithms
: an array ofgoogle_kms_crypto_key_version
algorithmattestations
: an array ofgoogle_kms_crypto_key_version
attestationimport_jobs
: an array ofgoogle_kms_crypto_key_version
import_jobimport_times
: an array ofgoogle_kms_crypto_key_version
import_timeimport_failure_reasons
: an array ofgoogle_kms_crypto_key_version
import_failure_reasonexternal_protection_level_options
: an array ofgoogle_kms_crypto_key_version
external_protection_level_optionsreimport_eligibles
: an array ofgoogle_kms_crypto_key_version
reimport_eligiblekey_rings
: an array ofgoogle_kms_crypto_key_version
key_ringcrypto_keys
: an array ofgoogle_kms_crypto_key_version
crypto_key
This resource supports all of the above properties as filter criteria, which can be used
with where
as a block or a method.
Ensure the Cloud Key Management Service (KMS) API is enabled for the current project.