|
23 | 23 | * <p> |
24 | 24 | * Enables <a href= |
25 | 25 | * "https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html" |
26 | | - * >automatic rotation of the key material</a> for the specified symmetric |
| 26 | + * >automatic rotation of the key material</a> of the specified symmetric |
27 | 27 | * encryption KMS key. |
28 | 28 | * </p> |
29 | 29 | * <p> |
30 | | - * You cannot enable automatic rotation of <a href= |
| 30 | + * When you enable automatic rotation of a<a href= |
| 31 | + * "https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk" |
| 32 | + * >customer managed KMS key</a>, KMS rotates the key material of the KMS key |
| 33 | + * one year (approximately 365 days) from the enable date and every year |
| 34 | + * thereafter. You can monitor rotation of the key material for your KMS keys in |
| 35 | + * CloudTrail and Amazon CloudWatch. To disable rotation of the key material in |
| 36 | + * a customer managed KMS key, use the <a>DisableKeyRotation</a> operation. |
| 37 | + * </p> |
| 38 | + * <p> |
| 39 | + * Automatic key rotation is supported only on <a href= |
| 40 | + * "https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#symmetric-cmks" |
| 41 | + * >symmetric encryption KMS keys</a>. You cannot enable or disable automatic |
| 42 | + * rotation of <a href= |
31 | 43 | * "https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html" |
32 | 44 | * >asymmetric KMS keys</a>, <a |
33 | 45 | * href="https://docs.aws.amazon.com/kms/latest/developerguide/hmac.html">HMAC |
34 | 46 | * KMS keys</a>, KMS keys with <a href= |
35 | 47 | * "https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html" |
36 | 48 | * >imported key material</a>, or KMS keys in a <a href= |
37 | 49 | * "https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html" |
38 | | - * >custom key store</a>. To enable or disable automatic rotation of a set of |
| 50 | + * >custom key store</a>. The key rotation status of these KMS keys is always |
| 51 | + * <code>false</code>. To enable or disable automatic rotation of a set of |
39 | 52 | * related <a href= |
40 | 53 | * "https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-manage.html#multi-region-rotate" |
41 | 54 | * >multi-Region keys</a>, set the property on the primary key. |
42 | 55 | * </p> |
43 | 56 | * <p> |
| 57 | + * You cannot enable or disable automatic rotation <a href= |
| 58 | + * "https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk" |
| 59 | + * >Amazon Web Services managed KMS keys</a>. KMS always rotates the key |
| 60 | + * material of Amazon Web Services managed keys every year. Rotation of <a href= |
| 61 | + * "https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk" |
| 62 | + * >Amazon Web Services owned KMS keys</a> varies. |
| 63 | + * </p> |
| 64 | + * <note> |
| 65 | + * <p> |
| 66 | + * In May 2022, KMS changed the rotation schedule for Amazon Web Services |
| 67 | + * managed keys from every three years (approximately 1,095 days) to every year |
| 68 | + * (approximately 365 days). |
| 69 | + * </p> |
| 70 | + * <p> |
| 71 | + * New Amazon Web Services managed keys are automatically rotated one year after |
| 72 | + * they are created, and approximately every year thereafter. |
| 73 | + * </p> |
| 74 | + * <p> |
| 75 | + * Existing Amazon Web Services managed keys are automatically rotated one year |
| 76 | + * after their most recent rotation, and every year thereafter. |
| 77 | + * </p> |
| 78 | + * </note> |
| 79 | + * <p> |
44 | 80 | * The KMS key that you use for this operation must be in a compatible key |
45 | 81 | * state. For details, see <a |
46 | 82 | * href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html" |
|
75 | 111 | public class EnableKeyRotationRequest extends AmazonWebServiceRequest implements Serializable { |
76 | 112 | /** |
77 | 113 | * <p> |
78 | | - * Identifies a symmetric encryption KMS key. You cannot enable automatic |
79 | | - * rotation of <a href= |
| 114 | + * Identifies a symmetric encryption KMS key. You cannot enable or disable |
| 115 | + * automatic rotation of <a href= |
80 | 116 | * "https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html" |
81 | 117 | * >asymmetric KMS keys</a>, <a |
82 | 118 | * href="https://docs.aws.amazon.com/kms/latest/developerguide/hmac.html" |
83 | 119 | * >HMAC KMS keys</a>, KMS keys with <a href= |
84 | 120 | * "https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html" |
85 | 121 | * >imported key material</a>, or KMS keys in a <a href= |
86 | 122 | * "https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html" |
87 | | - * >custom key store</a>. To enable or disable automatic rotation of a set |
88 | | - * of related <a href= |
| 123 | + * >custom key store</a>. The key rotation status of these KMS keys is |
| 124 | + * always <code>false</code>. To enable or disable automatic rotation of a |
| 125 | + * set of related <a href= |
89 | 126 | * "https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-manage.html#multi-region-rotate" |
90 | 127 | * >multi-Region keys</a>, set the property on the primary key. |
91 | 128 | * </p> |
@@ -120,17 +157,18 @@ public class EnableKeyRotationRequest extends AmazonWebServiceRequest implements |
120 | 157 |
|
121 | 158 | /** |
122 | 159 | * <p> |
123 | | - * Identifies a symmetric encryption KMS key. You cannot enable automatic |
124 | | - * rotation of <a href= |
| 160 | + * Identifies a symmetric encryption KMS key. You cannot enable or disable |
| 161 | + * automatic rotation of <a href= |
125 | 162 | * "https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html" |
126 | 163 | * >asymmetric KMS keys</a>, <a |
127 | 164 | * href="https://docs.aws.amazon.com/kms/latest/developerguide/hmac.html" |
128 | 165 | * >HMAC KMS keys</a>, KMS keys with <a href= |
129 | 166 | * "https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html" |
130 | 167 | * >imported key material</a>, or KMS keys in a <a href= |
131 | 168 | * "https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html" |
132 | | - * >custom key store</a>. To enable or disable automatic rotation of a set |
133 | | - * of related <a href= |
| 169 | + * >custom key store</a>. The key rotation status of these KMS keys is |
| 170 | + * always <code>false</code>. To enable or disable automatic rotation of a |
| 171 | + * set of related <a href= |
134 | 172 | * "https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-manage.html#multi-region-rotate" |
135 | 173 | * >multi-Region keys</a>, set the property on the primary key. |
136 | 174 | * </p> |
@@ -162,17 +200,18 @@ public class EnableKeyRotationRequest extends AmazonWebServiceRequest implements |
162 | 200 | * <b>Length: </b>1 - 2048<br/> |
163 | 201 | * |
164 | 202 | * @return <p> |
165 | | - * Identifies a symmetric encryption KMS key. You cannot enable |
166 | | - * automatic rotation of <a href= |
| 203 | + * Identifies a symmetric encryption KMS key. You cannot enable or |
| 204 | + * disable automatic rotation of <a href= |
167 | 205 | * "https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html" |
168 | 206 | * >asymmetric KMS keys</a>, <a href= |
169 | 207 | * "https://docs.aws.amazon.com/kms/latest/developerguide/hmac.html" |
170 | 208 | * >HMAC KMS keys</a>, KMS keys with <a href= |
171 | 209 | * "https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html" |
172 | 210 | * >imported key material</a>, or KMS keys in a <a href= |
173 | 211 | * "https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html" |
174 | | - * >custom key store</a>. To enable or disable automatic rotation of |
175 | | - * a set of related <a href= |
| 212 | + * >custom key store</a>. The key rotation status of these KMS keys |
| 213 | + * is always <code>false</code>. To enable or disable automatic |
| 214 | + * rotation of a set of related <a href= |
176 | 215 | * "https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-manage.html#multi-region-rotate" |
177 | 216 | * >multi-Region keys</a>, set the property on the primary key. |
178 | 217 | * </p> |
@@ -206,17 +245,18 @@ public String getKeyId() { |
206 | 245 |
|
207 | 246 | /** |
208 | 247 | * <p> |
209 | | - * Identifies a symmetric encryption KMS key. You cannot enable automatic |
210 | | - * rotation of <a href= |
| 248 | + * Identifies a symmetric encryption KMS key. You cannot enable or disable |
| 249 | + * automatic rotation of <a href= |
211 | 250 | * "https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html" |
212 | 251 | * >asymmetric KMS keys</a>, <a |
213 | 252 | * href="https://docs.aws.amazon.com/kms/latest/developerguide/hmac.html" |
214 | 253 | * >HMAC KMS keys</a>, KMS keys with <a href= |
215 | 254 | * "https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html" |
216 | 255 | * >imported key material</a>, or KMS keys in a <a href= |
217 | 256 | * "https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html" |
218 | | - * >custom key store</a>. To enable or disable automatic rotation of a set |
219 | | - * of related <a href= |
| 257 | + * >custom key store</a>. The key rotation status of these KMS keys is |
| 258 | + * always <code>false</code>. To enable or disable automatic rotation of a |
| 259 | + * set of related <a href= |
220 | 260 | * "https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-manage.html#multi-region-rotate" |
221 | 261 | * >multi-Region keys</a>, set the property on the primary key. |
222 | 262 | * </p> |
@@ -249,16 +289,17 @@ public String getKeyId() { |
249 | 289 | * |
250 | 290 | * @param keyId <p> |
251 | 291 | * Identifies a symmetric encryption KMS key. You cannot enable |
252 | | - * automatic rotation of <a href= |
| 292 | + * or disable automatic rotation of <a href= |
253 | 293 | * "https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html" |
254 | 294 | * >asymmetric KMS keys</a>, <a href= |
255 | 295 | * "https://docs.aws.amazon.com/kms/latest/developerguide/hmac.html" |
256 | 296 | * >HMAC KMS keys</a>, KMS keys with <a href= |
257 | 297 | * "https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html" |
258 | 298 | * >imported key material</a>, or KMS keys in a <a href= |
259 | 299 | * "https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html" |
260 | | - * >custom key store</a>. To enable or disable automatic rotation |
261 | | - * of a set of related <a href= |
| 300 | + * >custom key store</a>. The key rotation status of these KMS |
| 301 | + * keys is always <code>false</code>. To enable or disable |
| 302 | + * automatic rotation of a set of related <a href= |
262 | 303 | * "https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-manage.html#multi-region-rotate" |
263 | 304 | * >multi-Region keys</a>, set the property on the primary key. |
264 | 305 | * </p> |
@@ -292,17 +333,18 @@ public void setKeyId(String keyId) { |
292 | 333 |
|
293 | 334 | /** |
294 | 335 | * <p> |
295 | | - * Identifies a symmetric encryption KMS key. You cannot enable automatic |
296 | | - * rotation of <a href= |
| 336 | + * Identifies a symmetric encryption KMS key. You cannot enable or disable |
| 337 | + * automatic rotation of <a href= |
297 | 338 | * "https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html" |
298 | 339 | * >asymmetric KMS keys</a>, <a |
299 | 340 | * href="https://docs.aws.amazon.com/kms/latest/developerguide/hmac.html" |
300 | 341 | * >HMAC KMS keys</a>, KMS keys with <a href= |
301 | 342 | * "https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html" |
302 | 343 | * >imported key material</a>, or KMS keys in a <a href= |
303 | 344 | * "https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html" |
304 | | - * >custom key store</a>. To enable or disable automatic rotation of a set |
305 | | - * of related <a href= |
| 345 | + * >custom key store</a>. The key rotation status of these KMS keys is |
| 346 | + * always <code>false</code>. To enable or disable automatic rotation of a |
| 347 | + * set of related <a href= |
306 | 348 | * "https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-manage.html#multi-region-rotate" |
307 | 349 | * >multi-Region keys</a>, set the property on the primary key. |
308 | 350 | * </p> |
@@ -338,16 +380,17 @@ public void setKeyId(String keyId) { |
338 | 380 | * |
339 | 381 | * @param keyId <p> |
340 | 382 | * Identifies a symmetric encryption KMS key. You cannot enable |
341 | | - * automatic rotation of <a href= |
| 383 | + * or disable automatic rotation of <a href= |
342 | 384 | * "https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html" |
343 | 385 | * >asymmetric KMS keys</a>, <a href= |
344 | 386 | * "https://docs.aws.amazon.com/kms/latest/developerguide/hmac.html" |
345 | 387 | * >HMAC KMS keys</a>, KMS keys with <a href= |
346 | 388 | * "https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html" |
347 | 389 | * >imported key material</a>, or KMS keys in a <a href= |
348 | 390 | * "https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html" |
349 | | - * >custom key store</a>. To enable or disable automatic rotation |
350 | | - * of a set of related <a href= |
| 391 | + * >custom key store</a>. The key rotation status of these KMS |
| 392 | + * keys is always <code>false</code>. To enable or disable |
| 393 | + * automatic rotation of a set of related <a href= |
351 | 394 | * "https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-manage.html#multi-region-rotate" |
352 | 395 | * >multi-Region keys</a>, set the property on the primary key. |
353 | 396 | * </p> |
|
0 commit comments