-name:get info on a crypto keygcp_kms_crypto_key_info:key_ring:projects/{{gcp_project}}/locations/us-central1/keyRings/key-key-ringproject:test_projectauth_kind:serviceaccountservice_account_file:"/tmp/auth.pem"
Labels with user-defined metadata to apply to this resource.
name
string
success
The resource name for the CryptoKey.
purpose
string
success
Immutable purpose of CryptoKey. See
rotationPeriod
string
success
Every time this period passes, generate a new CryptoKeyVersion and set it as the primary.
The first rotation will take place after the specified period. The rotation period has the format of a decimal number with up to 9 fractional digits, followed by the letter `s` (seconds). It must be greater than a day (ie, 86400).
versionTemplate
complex
success
A template describing settings for new crypto key versions.
algorithm
string
success
The algorithm to use when creating a version based on this template.
See the [algorithm reference](
protectionLevel
string
success
The protection level to use when creating a version based on this template.