Interface protos.google.cloud.kms.v1.ICryptoKey (4.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Properties of a CryptoKey.
Package
@google-cloud/kms
Properties
createTime
createTime
?:
(
google
.
protobuf
.
ITimestamp
|
null
);
cryptoKeyBackend
cryptoKeyBackend
?:
(
string
|
null
);
CryptoKey cryptoKeyBackend
destroyScheduledDuration
destroyScheduledDuration
?:
(
google
.
protobuf
.
IDuration
|
null
);
CryptoKey destroyScheduledDuration
importOnly
importOnly
?:
(
boolean
|
null
);
keyAccessJustificationsPolicy
keyAccessJustificationsPolicy
?:
(
google
.
cloud
.
kms
.
v1
.
IKeyAccessJustificationsPolicy
|
null
);
CryptoKey keyAccessJustificationsPolicy
labels
labels
?:
({
[
k
:
string
]
:
string
}
|
null
);
name
name
?:
(
string
|
null
);
nextRotationTime
nextRotationTime
?:
(
google
.
protobuf
.
ITimestamp
|
null
);
CryptoKey nextRotationTime
primary
primary
?:
(
google
.
cloud
.
kms
.
v1
.
ICryptoKeyVersion
|
null
);
purpose
purpose
?:
(
google
.
cloud
.
kms
.
v1
.
CryptoKey
.
CryptoKeyPurpose
|
keyof
typeof
google
.
cloud
.
kms
.
v1
.
CryptoKey
.
CryptoKeyPurpose
|
null
);
rotationPeriod
rotationPeriod
?:
(
google
.
protobuf
.
IDuration
|
null
);
versionTemplate
versionTemplate
?:
(
google
.
cloud
.
kms
.
v1
.
ICryptoKeyVersionTemplate
|
null
);
CryptoKey versionTemplate
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Interface protos.google.cloud.kms.v1.ICryptoKey (4.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [4.5.0 (latest)](/nodejs/docs/reference/kms/latest/kms/protos.google.cloud.kms.v1.icryptokey)\n- [4.3.0](/nodejs/docs/reference/kms/4.3.0/kms/protos.google.cloud.kms.v1.icryptokey)\n- [3.5.1](/nodejs/docs/reference/kms/3.5.1/kms/protos.google.cloud.kms.v1.icryptokey)\n- [3.4.0](/nodejs/docs/reference/kms/3.4.0/kms/protos.google.cloud.kms.v1.icryptokey)\n- [3.3.1](/nodejs/docs/reference/kms/3.3.1/kms/protos.google.cloud.kms.v1.icryptokey)\n- [3.1.0](/nodejs/docs/reference/kms/3.1.0/kms/protos.google.cloud.kms.v1.icryptokey)\n- [2.11.0](/nodejs/docs/reference/kms/2.11.0/kms/protos.google.cloud.kms.v1.icryptokey)\n- [2.10.0](/nodejs/docs/reference/kms/2.10.0/kms/protos.google.cloud.kms.v1.icryptokey)\n- [2.9.0](/nodejs/docs/reference/kms/2.9.0/kms/protos.google.cloud.kms.v1.icryptokey)\n- [2.8.1](/nodejs/docs/reference/kms/2.8.1/kms/protos.google.cloud.kms.v1.icryptokey)\n- [2.7.0](/nodejs/docs/reference/kms/2.7.0/kms/protos.google.cloud.kms.v1.icryptokey)\n- [2.6.0](/nodejs/docs/reference/kms/2.6.0/kms/protos.google.cloud.kms.v1.icryptokey)\n- [2.5.0](/nodejs/docs/reference/kms/2.5.0/kms/protos.google.cloud.kms.v1.icryptokey)\n- [2.4.4](/nodejs/docs/reference/kms/2.4.4/kms/protos.google.cloud.kms.v1.icryptokey)\n- [2.3.3](/nodejs/docs/reference/kms/2.3.3/kms/protos.google.cloud.kms.v1.icryptokey) \nProperties of a CryptoKey.\n\nPackage\n-------\n\n[@google-cloud/kms](../overview.html)\n\nProperties\n----------\n\n### createTime\n\n createTime?: (google.protobuf.ITimestamp|null);\n\nCryptoKey createTime\n\n### cryptoKeyBackend\n\n cryptoKeyBackend?: (string|null);\n\nCryptoKey cryptoKeyBackend\n\n### destroyScheduledDuration\n\n destroyScheduledDuration?: (google.protobuf.IDuration|null);\n\nCryptoKey destroyScheduledDuration\n\n### importOnly\n\n importOnly?: (boolean|null);\n\nCryptoKey importOnly\n\n### keyAccessJustificationsPolicy\n\n keyAccessJustificationsPolicy?: (google.cloud.kms.v1.IKeyAccessJustificationsPolicy|null);\n\nCryptoKey keyAccessJustificationsPolicy\n\n### labels\n\n labels?: ({ [k: string]: string }|null);\n\nCryptoKey labels\n\n### name\n\n name?: (string|null);\n\nCryptoKey name\n\n### nextRotationTime\n\n nextRotationTime?: (google.protobuf.ITimestamp|null);\n\nCryptoKey nextRotationTime\n\n### primary\n\n primary?: (google.cloud.kms.v1.ICryptoKeyVersion|null);\n\nCryptoKey primary\n\n### purpose\n\n purpose?: (google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose|keyof typeof google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose|null);\n\nCryptoKey purpose\n\n### rotationPeriod\n\n rotationPeriod?: (google.protobuf.IDuration|null);\n\nCryptoKey rotationPeriod\n\n### versionTemplate\n\n versionTemplate?: (google.cloud.kms.v1.ICryptoKeyVersionTemplate|null);\n\nCryptoKey versionTemplate"]]