15
15
*/
16
16
17
17
/**
18
- * IBM OpenAPI SDK Code Generator Version: 3.104 .0-b4a47c49-20250418-184351
18
+ * IBM OpenAPI SDK Code Generator Version: 3.107 .0-b68ebf7a-20250811-145645
19
19
*/
20
20
21
21
/* eslint-disable max-classes-per-file */
@@ -494,7 +494,7 @@ class SecretsManagerV2 extends BaseService {
494
494
* descending order use the `-` character
495
495
*
496
496
*
497
- * **Available values:** id | created_at | updated_at | expiration_date | secret_type | name
497
+ * **Available values:** id | created_at | updated_at | retrieved_at | expiration_date | secret_type | name
498
498
*
499
499
* **Usage:** To sort a list of secrets by their creation date, use
500
500
* `../secrets?sort=created_at`.
@@ -2804,7 +2804,7 @@ namespace SecretsManagerV2 {
2804
2804
* `-` character
2805
2805
*
2806
2806
*
2807
- * **Available values:** id | created_at | updated_at | expiration_date | secret_type | name
2807
+ * **Available values:** id | created_at | updated_at | retrieved_at | expiration_date | secret_type | name
2808
2808
*
2809
2809
* **Usage:** To sort a list of secrets by their creation date, use
2810
2810
* `../secrets?sort=created_at`.
@@ -4564,6 +4564,10 @@ namespace SecretsManagerV2 {
4564
4564
created_by: string;
4565
4565
/** The date when the resource was created. The date format follows `RFC 3339`. */
4566
4566
created_at: string;
4567
+ /** The date when the data of the secret was last retrieved. The date format follows RFC 3339. Epoch date if
4568
+ * there is no record of secret data retrieval.
4569
+ */
4570
+ retrieved_at?: string;
4567
4571
/** A CRN that uniquely identifies an IBM Cloud resource. */
4568
4572
crn: string;
4569
4573
/** The secret metadata that a user can customize. */
@@ -4650,6 +4654,10 @@ namespace SecretsManagerV2 {
4650
4654
created_by: string;
4651
4655
/** The date when the resource was created. The date format follows `RFC 3339`. */
4652
4656
created_at: string;
4657
+ /** The date when the data of the secret was last retrieved. The date format follows RFC 3339. Epoch date if
4658
+ * there is no record of secret data retrieval.
4659
+ */
4660
+ retrieved_at?: string;
4653
4661
/** A CRN that uniquely identifies an IBM Cloud resource. */
4654
4662
crn: string;
4655
4663
/** The secret metadata that a user can customize. */
@@ -4952,6 +4960,18 @@ namespace SecretsManagerV2 {
4952
4960
4953
4961
/**
4954
4962
* This field indicates whether Secrets Manager rotates your secrets automatically.
4963
+ *
4964
+ * Rotation interval cannot exceed the assiged TTL value.
4965
+ *
4966
+ * Custom Credentials: Minimum 6 hours, Maximum 3 months.
4967
+ *
4968
+ * Service Credentials: Minimum 1 day, Maximum 3 months.
4969
+ *
4970
+ * IAM Credentials: Minimum 1 day, Maximum 3 months.
4971
+ *
4972
+ * Private certificate: Minimum 1 day, Maximum 24 months.
4973
+ *
4974
+ * User credentials: Minimum 1 day, Maximum 24 months.
4955
4975
*/
4956
4976
export interface CommonRotationPolicy extends RotationPolicy {
4957
4977
/** This field indicates whether Secrets Manager rotates your secret automatically.
@@ -4971,6 +4991,7 @@ namespace SecretsManagerV2 {
4971
4991
export enum Unit {
4972
4992
DAY = 'day',
4973
4993
MONTH = 'month',
4994
+ HOUR = 'hour',
4974
4995
}
4975
4996
}
4976
4997
}
@@ -5174,6 +5195,10 @@ namespace SecretsManagerV2 {
5174
5195
created_by: string;
5175
5196
/** The date when the resource was created. The date format follows `RFC 3339`. */
5176
5197
created_at: string;
5198
+ /** The date when the data of the secret was last retrieved. The date format follows RFC 3339. Epoch date if
5199
+ * there is no record of secret data retrieval.
5200
+ */
5201
+ retrieved_at?: string;
5177
5202
/** A CRN that uniquely identifies an IBM Cloud resource. */
5178
5203
crn: string;
5179
5204
/** The secret metadata that a user can customize. */
@@ -5253,6 +5278,8 @@ namespace SecretsManagerV2 {
5253
5278
queued_task_count?: number;
5254
5279
/** A Secret Manager task identifier. */
5255
5280
last_failed_task_id?: string;
5281
+ /** Indicates if the last rotation (automatic or manual) for the secret failed. */
5282
+ last_rotation_failed?: boolean;
5256
5283
/** The name of the custom credentials configuration. */
5257
5284
configuration: string;
5258
5285
/** The fields that can be passed to and from the custom credentials engine. Allowed types are 'string',
@@ -5297,6 +5324,10 @@ namespace SecretsManagerV2 {
5297
5324
created_by: string;
5298
5325
/** The date when the resource was created. The date format follows `RFC 3339`. */
5299
5326
created_at: string;
5327
+ /** The date when the data of the secret was last retrieved. The date format follows RFC 3339. Epoch date if
5328
+ * there is no record of secret data retrieval.
5329
+ */
5330
+ retrieved_at?: string;
5300
5331
/** A CRN that uniquely identifies an IBM Cloud resource. */
5301
5332
crn: string;
5302
5333
/** The secret metadata that a user can customize. */
@@ -5376,6 +5407,8 @@ namespace SecretsManagerV2 {
5376
5407
queued_task_count?: number;
5377
5408
/** A Secret Manager task identifier. */
5378
5409
last_failed_task_id?: string;
5410
+ /** Indicates if the last rotation (automatic or manual) for the secret failed. */
5411
+ last_rotation_failed?: boolean;
5379
5412
/** The name of the custom credentials configuration. */
5380
5413
configuration: string;
5381
5414
/** The fields that can be passed to and from the custom credentials engine. Allowed types are 'string',
@@ -5847,6 +5880,10 @@ namespace SecretsManagerV2 {
5847
5880
created_by: string;
5848
5881
/** The date when the resource was created. The date format follows `RFC 3339`. */
5849
5882
created_at: string;
5883
+ /** The date when the data of the secret was last retrieved. The date format follows RFC 3339. Epoch date if
5884
+ * there is no record of secret data retrieval.
5885
+ */
5886
+ retrieved_at?: string;
5850
5887
/** A CRN that uniquely identifies an IBM Cloud resource. */
5851
5888
crn: string;
5852
5889
/** The secret metadata that a user can customize. */
@@ -5993,6 +6030,10 @@ namespace SecretsManagerV2 {
5993
6030
created_by: string;
5994
6031
/** The date when the resource was created. The date format follows `RFC 3339`. */
5995
6032
created_at: string;
6033
+ /** The date when the data of the secret was last retrieved. The date format follows RFC 3339. Epoch date if
6034
+ * there is no record of secret data retrieval.
6035
+ */
6036
+ retrieved_at?: string;
5996
6037
/** A CRN that uniquely identifies an IBM Cloud resource. */
5997
6038
crn: string;
5998
6039
/** The secret metadata that a user can customize. */
@@ -6441,6 +6482,10 @@ namespace SecretsManagerV2 {
6441
6482
created_by: string;
6442
6483
/** The date when the resource was created. The date format follows `RFC 3339`. */
6443
6484
created_at: string;
6485
+ /** The date when the data of the secret was last retrieved. The date format follows RFC 3339. Epoch date if
6486
+ * there is no record of secret data retrieval.
6487
+ */
6488
+ retrieved_at?: string;
6444
6489
/** A CRN that uniquely identifies an IBM Cloud resource. */
6445
6490
crn: string;
6446
6491
/** The secret metadata that a user can customize. */
@@ -6563,6 +6608,10 @@ namespace SecretsManagerV2 {
6563
6608
created_by: string;
6564
6609
/** The date when the resource was created. The date format follows `RFC 3339`. */
6565
6610
created_at: string;
6611
+ /** The date when the data of the secret was last retrieved. The date format follows RFC 3339. Epoch date if
6612
+ * there is no record of secret data retrieval.
6613
+ */
6614
+ retrieved_at?: string;
6566
6615
/** A CRN that uniquely identifies an IBM Cloud resource. */
6567
6616
crn: string;
6568
6617
/** The secret metadata that a user can customize. */
@@ -6927,6 +6976,10 @@ namespace SecretsManagerV2 {
6927
6976
created_by: string;
6928
6977
/** The date when the resource was created. The date format follows `RFC 3339`. */
6929
6978
created_at: string;
6979
+ /** The date when the data of the secret was last retrieved. The date format follows RFC 3339. Epoch date if
6980
+ * there is no record of secret data retrieval.
6981
+ */
6982
+ retrieved_at?: string;
6930
6983
/** A CRN that uniquely identifies an IBM Cloud resource. */
6931
6984
crn: string;
6932
6985
/** The secret metadata that a user can customize. */
@@ -7008,6 +7061,10 @@ namespace SecretsManagerV2 {
7008
7061
created_by: string;
7009
7062
/** The date when the resource was created. The date format follows `RFC 3339`. */
7010
7063
created_at: string;
7064
+ /** The date when the data of the secret was last retrieved. The date format follows RFC 3339. Epoch date if
7065
+ * there is no record of secret data retrieval.
7066
+ */
7067
+ retrieved_at?: string;
7011
7068
/** A CRN that uniquely identifies an IBM Cloud resource. */
7012
7069
crn: string;
7013
7070
/** The secret metadata that a user can customize. */
@@ -7303,6 +7360,10 @@ namespace SecretsManagerV2 {
7303
7360
created_by: string;
7304
7361
/** The date when the resource was created. The date format follows `RFC 3339`. */
7305
7362
created_at: string;
7363
+ /** The date when the data of the secret was last retrieved. The date format follows RFC 3339. Epoch date if
7364
+ * there is no record of secret data retrieval.
7365
+ */
7366
+ retrieved_at?: string;
7306
7367
/** A CRN that uniquely identifies an IBM Cloud resource. */
7307
7368
crn: string;
7308
7369
/** The secret metadata that a user can customize. */
@@ -9700,6 +9761,10 @@ namespace SecretsManagerV2 {
9700
9761
created_by: string;
9701
9762
/** The date when the resource was created. The date format follows `RFC 3339`. */
9702
9763
created_at: string;
9764
+ /** The date when the data of the secret was last retrieved. The date format follows RFC 3339. Epoch date if
9765
+ * there is no record of secret data retrieval.
9766
+ */
9767
+ retrieved_at?: string;
9703
9768
/** A CRN that uniquely identifies an IBM Cloud resource. */
9704
9769
crn: string;
9705
9770
/** The secret metadata that a user can customize. */
@@ -10142,6 +10207,10 @@ namespace SecretsManagerV2 {
10142
10207
created_by: string;
10143
10208
/** The date when the resource was created. The date format follows `RFC 3339`. */
10144
10209
created_at: string;
10210
+ /** The date when the data of the secret was last retrieved. The date format follows RFC 3339. Epoch date if
10211
+ * there is no record of secret data retrieval.
10212
+ */
10213
+ retrieved_at?: string;
10145
10214
/** A CRN that uniquely identifies an IBM Cloud resource. */
10146
10215
crn: string;
10147
10216
/** The secret metadata that a user can customize. */
@@ -10892,6 +10961,10 @@ namespace SecretsManagerV2 {
10892
10961
created_by: string;
10893
10962
/** The date when the resource was created. The date format follows `RFC 3339`. */
10894
10963
created_at: string;
10964
+ /** The date when the data of the secret was last retrieved. The date format follows RFC 3339. Epoch date if
10965
+ * there is no record of secret data retrieval.
10966
+ */
10967
+ retrieved_at?: string;
10895
10968
/** A CRN that uniquely identifies an IBM Cloud resource. */
10896
10969
crn: string;
10897
10970
/** The secret metadata that a user can customize. */
@@ -11346,6 +11419,10 @@ namespace SecretsManagerV2 {
11346
11419
created_by: string;
11347
11420
/** The date when the resource was created. The date format follows `RFC 3339`. */
11348
11421
created_at: string;
11422
+ /** The date when the data of the secret was last retrieved. The date format follows RFC 3339. Epoch date if
11423
+ * there is no record of secret data retrieval.
11424
+ */
11425
+ retrieved_at?: string;
11349
11426
/** A CRN that uniquely identifies an IBM Cloud resource. */
11350
11427
crn: string;
11351
11428
/** The secret metadata that a user can customize. */
@@ -11455,6 +11532,10 @@ namespace SecretsManagerV2 {
11455
11532
created_by: string;
11456
11533
/** The date when the resource was created. The date format follows `RFC 3339`. */
11457
11534
created_at: string;
11535
+ /** The date when the data of the secret was last retrieved. The date format follows RFC 3339. Epoch date if
11536
+ * there is no record of secret data retrieval.
11537
+ */
11538
+ retrieved_at?: string;
11458
11539
/** A CRN that uniquely identifies an IBM Cloud resource. */
11459
11540
crn: string;
11460
11541
/** The secret metadata that a user can customize. */
@@ -11812,6 +11893,10 @@ namespace SecretsManagerV2 {
11812
11893
created_by: string;
11813
11894
/** The date when the resource was created. The date format follows `RFC 3339`. */
11814
11895
created_at: string;
11896
+ /** The date when the data of the secret was last retrieved. The date format follows RFC 3339. Epoch date if
11897
+ * there is no record of secret data retrieval.
11898
+ */
11899
+ retrieved_at?: string;
11815
11900
/** A CRN that uniquely identifies an IBM Cloud resource. */
11816
11901
crn: string;
11817
11902
/** The secret metadata that a user can customize. */
@@ -11912,6 +11997,10 @@ namespace SecretsManagerV2 {
11912
11997
created_by: string;
11913
11998
/** The date when the resource was created. The date format follows `RFC 3339`. */
11914
11999
created_at: string;
12000
+ /** The date when the data of the secret was last retrieved. The date format follows RFC 3339. Epoch date if
12001
+ * there is no record of secret data retrieval.
12002
+ */
12003
+ retrieved_at?: string;
11915
12004
/** A CRN that uniquely identifies an IBM Cloud resource. */
11916
12005
crn: string;
11917
12006
/** The secret metadata that a user can customize. */
0 commit comments