@wix/secrets 1.0.34 → 1.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/secrets",
3
- "version": "1.0.34",
3
+ "version": "1.0.36",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,7 +18,7 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/secrets_secrets": "1.0.23"
21
+ "@wix/secrets_secrets": "1.0.25"
22
22
  },
23
23
  "devDependencies": {
24
24
  "glob": "^10.4.1",
@@ -43,5 +43,5 @@
43
43
  "fqdn": ""
44
44
  }
45
45
  },
46
- "falconPackageHash": "7265cf6fdf32e25578c271adf1416fe496af5336a7a1ca5a7d29f15d"
46
+ "falconPackageHash": "893a772393937d105c609519d705521e13bbaf9537b7f543c0009965"
47
47
  }
@@ -106,9 +106,9 @@ interface DeleteSecretRequest {
106
106
  interface DeleteSecretResponse {
107
107
  }
108
108
  interface UpdateSecretRequest {
109
- /** The unique ID of the secret to be updated. */
109
+ /** ID of the secret to update. */
110
110
  _id: string;
111
- /** The secret fields to update. */
111
+ /** Details of a secret. */
112
112
  secret: Secret;
113
113
  }
114
114
  interface UpdateSecretResponse {
@@ -282,6 +282,10 @@ interface SecretCreatedEnvelope {
282
282
  interface SecretDeletedEnvelope {
283
283
  metadata: EventMetadata;
284
284
  }
285
+ interface SecretUpdatedEnvelope {
286
+ entity: Secret;
287
+ metadata: EventMetadata;
288
+ }
285
289
 
286
290
  declare function getSecretValue$1(httpClient: HttpClient): GetSecretValueSignature;
287
291
  interface GetSecretValueSignature {
@@ -355,8 +359,8 @@ interface UpdateSecretSignature {
355
359
  * > - Changing a secret's name or value will break all code using the secret.
356
360
  * > - You can't rename the secret with a name of an existing secret.
357
361
  * > - Don't leave private keys in your code! Leaving them in is a security risk. Make sure to delete the keys from the code after running `updateSecret()`.
358
- * @param - The unique ID of the secret to be updated.
359
- * @param - The secret fields to update.
362
+ * @param - ID of the secret to update.
363
+ * @param - Details of a secret.
360
364
  * @returns Fulfilled - When the secret is updated.
361
365
  * Rejected - Error message.
362
366
  */
@@ -364,6 +368,7 @@ interface UpdateSecretSignature {
364
368
  }
365
369
  declare const onSecretCreated$1: EventDefinition<SecretCreatedEnvelope, "wix.velo.secrets_vault.v1.secret_created">;
366
370
  declare const onSecretDeleted$1: EventDefinition<SecretDeletedEnvelope, "wix.velo.secrets_vault.v1.secret_deleted">;
371
+ declare const onSecretUpdated$1: EventDefinition<SecretUpdatedEnvelope, "wix.velo.secrets_vault.v1.secret_updated">;
367
372
 
368
373
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
369
374
 
@@ -374,13 +379,21 @@ declare const deleteSecret: BuildRESTFunction<typeof deleteSecret$1> & typeof de
374
379
  declare const updateSecret: BuildRESTFunction<typeof updateSecret$1> & typeof updateSecret$1;
375
380
 
376
381
  type _publicOnSecretCreatedType = typeof onSecretCreated$1;
377
- /** */
382
+ /**
383
+ * Triggered when a secret is created.
384
+ */
378
385
  declare const onSecretCreated: ReturnType<typeof createEventModule<_publicOnSecretCreatedType>>;
379
386
 
380
387
  type _publicOnSecretDeletedType = typeof onSecretDeleted$1;
381
- /** */
388
+ /**
389
+ * Triggered when a secret is deleted.
390
+ */
382
391
  declare const onSecretDeleted: ReturnType<typeof createEventModule<_publicOnSecretDeletedType>>;
383
392
 
393
+ type _publicOnSecretUpdatedType = typeof onSecretUpdated$1;
394
+ /** */
395
+ declare const onSecretUpdated: ReturnType<typeof createEventModule<_publicOnSecretUpdatedType>>;
396
+
384
397
  type context_ActionEvent = ActionEvent;
385
398
  type context_BaseEventMetadata = BaseEventMetadata;
386
399
  type context_CreateSecretRequest = CreateSecretRequest;
@@ -406,21 +419,24 @@ type context_RestoreInfo = RestoreInfo;
406
419
  type context_Secret = Secret;
407
420
  type context_SecretCreatedEnvelope = SecretCreatedEnvelope;
408
421
  type context_SecretDeletedEnvelope = SecretDeletedEnvelope;
422
+ type context_SecretUpdatedEnvelope = SecretUpdatedEnvelope;
409
423
  type context_UpdateSecretRequest = UpdateSecretRequest;
410
424
  type context_UpdateSecretResponse = UpdateSecretResponse;
411
425
  type context_WebhookIdentityType = WebhookIdentityType;
412
426
  declare const context_WebhookIdentityType: typeof WebhookIdentityType;
413
427
  type context__publicOnSecretCreatedType = _publicOnSecretCreatedType;
414
428
  type context__publicOnSecretDeletedType = _publicOnSecretDeletedType;
429
+ type context__publicOnSecretUpdatedType = _publicOnSecretUpdatedType;
415
430
  declare const context_createSecret: typeof createSecret;
416
431
  declare const context_deleteSecret: typeof deleteSecret;
417
432
  declare const context_getSecretValue: typeof getSecretValue;
418
433
  declare const context_listSecretInfo: typeof listSecretInfo;
419
434
  declare const context_onSecretCreated: typeof onSecretCreated;
420
435
  declare const context_onSecretDeleted: typeof onSecretDeleted;
436
+ declare const context_onSecretUpdated: typeof onSecretUpdated;
421
437
  declare const context_updateSecret: typeof updateSecret;
422
438
  declare namespace context {
423
- export { type context_ActionEvent as ActionEvent, type context_BaseEventMetadata as BaseEventMetadata, type context_CreateSecretRequest as CreateSecretRequest, type context_CreateSecretResponse as CreateSecretResponse, type context_CreateSecretResponseNonNullableFields as CreateSecretResponseNonNullableFields, type context_DeleteSecretRequest as DeleteSecretRequest, type context_DeleteSecretResponse as DeleteSecretResponse, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_GetSecretValueRequest as GetSecretValueRequest, type context_GetSecretValueResponse as GetSecretValueResponse, type context_GetSecretValueResponseNonNullableFields as GetSecretValueResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_ListSecretInfoRequest as ListSecretInfoRequest, type context_ListSecretInfoResponse as ListSecretInfoResponse, type context_MessageEnvelope as MessageEnvelope, type context_RestoreInfo as RestoreInfo, type context_Secret as Secret, type context_SecretCreatedEnvelope as SecretCreatedEnvelope, type context_SecretDeletedEnvelope as SecretDeletedEnvelope, type context_UpdateSecretRequest as UpdateSecretRequest, type context_UpdateSecretResponse as UpdateSecretResponse, context_WebhookIdentityType as WebhookIdentityType, type context__publicOnSecretCreatedType as _publicOnSecretCreatedType, type context__publicOnSecretDeletedType as _publicOnSecretDeletedType, context_createSecret as createSecret, context_deleteSecret as deleteSecret, context_getSecretValue as getSecretValue, context_listSecretInfo as listSecretInfo, context_onSecretCreated as onSecretCreated, context_onSecretDeleted as onSecretDeleted, onSecretCreated$1 as publicOnSecretCreated, onSecretDeleted$1 as publicOnSecretDeleted, context_updateSecret as updateSecret };
439
+ export { type context_ActionEvent as ActionEvent, type context_BaseEventMetadata as BaseEventMetadata, type context_CreateSecretRequest as CreateSecretRequest, type context_CreateSecretResponse as CreateSecretResponse, type context_CreateSecretResponseNonNullableFields as CreateSecretResponseNonNullableFields, type context_DeleteSecretRequest as DeleteSecretRequest, type context_DeleteSecretResponse as DeleteSecretResponse, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_GetSecretValueRequest as GetSecretValueRequest, type context_GetSecretValueResponse as GetSecretValueResponse, type context_GetSecretValueResponseNonNullableFields as GetSecretValueResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_ListSecretInfoRequest as ListSecretInfoRequest, type context_ListSecretInfoResponse as ListSecretInfoResponse, type context_MessageEnvelope as MessageEnvelope, type context_RestoreInfo as RestoreInfo, type context_Secret as Secret, type context_SecretCreatedEnvelope as SecretCreatedEnvelope, type context_SecretDeletedEnvelope as SecretDeletedEnvelope, type context_SecretUpdatedEnvelope as SecretUpdatedEnvelope, type context_UpdateSecretRequest as UpdateSecretRequest, type context_UpdateSecretResponse as UpdateSecretResponse, context_WebhookIdentityType as WebhookIdentityType, type context__publicOnSecretCreatedType as _publicOnSecretCreatedType, type context__publicOnSecretDeletedType as _publicOnSecretDeletedType, type context__publicOnSecretUpdatedType as _publicOnSecretUpdatedType, context_createSecret as createSecret, context_deleteSecret as deleteSecret, context_getSecretValue as getSecretValue, context_listSecretInfo as listSecretInfo, context_onSecretCreated as onSecretCreated, context_onSecretDeleted as onSecretDeleted, context_onSecretUpdated as onSecretUpdated, onSecretCreated$1 as publicOnSecretCreated, onSecretDeleted$1 as publicOnSecretDeleted, onSecretUpdated$1 as publicOnSecretUpdated, context_updateSecret as updateSecret };
424
440
  }
425
441
 
426
442
  export { context as secrets };
@@ -106,9 +106,9 @@ interface DeleteSecretRequest {
106
106
  interface DeleteSecretResponse {
107
107
  }
108
108
  interface UpdateSecretRequest {
109
- /** The unique ID of the secret to be updated. */
109
+ /** ID of the secret to update. */
110
110
  _id: string;
111
- /** The secret fields to update. */
111
+ /** Details of a secret. */
112
112
  secret: Secret;
113
113
  }
114
114
  interface UpdateSecretResponse {
@@ -282,6 +282,10 @@ interface SecretCreatedEnvelope {
282
282
  interface SecretDeletedEnvelope {
283
283
  metadata: EventMetadata;
284
284
  }
285
+ interface SecretUpdatedEnvelope {
286
+ entity: Secret;
287
+ metadata: EventMetadata;
288
+ }
285
289
 
286
290
  declare function getSecretValue$1(httpClient: HttpClient): GetSecretValueSignature;
287
291
  interface GetSecretValueSignature {
@@ -355,8 +359,8 @@ interface UpdateSecretSignature {
355
359
  * > - Changing a secret's name or value will break all code using the secret.
356
360
  * > - You can't rename the secret with a name of an existing secret.
357
361
  * > - Don't leave private keys in your code! Leaving them in is a security risk. Make sure to delete the keys from the code after running `updateSecret()`.
358
- * @param - The unique ID of the secret to be updated.
359
- * @param - The secret fields to update.
362
+ * @param - ID of the secret to update.
363
+ * @param - Details of a secret.
360
364
  * @returns Fulfilled - When the secret is updated.
361
365
  * Rejected - Error message.
362
366
  */
@@ -364,6 +368,7 @@ interface UpdateSecretSignature {
364
368
  }
365
369
  declare const onSecretCreated$1: EventDefinition<SecretCreatedEnvelope, "wix.velo.secrets_vault.v1.secret_created">;
366
370
  declare const onSecretDeleted$1: EventDefinition<SecretDeletedEnvelope, "wix.velo.secrets_vault.v1.secret_deleted">;
371
+ declare const onSecretUpdated$1: EventDefinition<SecretUpdatedEnvelope, "wix.velo.secrets_vault.v1.secret_updated">;
367
372
 
368
373
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
369
374
 
@@ -374,13 +379,21 @@ declare const deleteSecret: BuildRESTFunction<typeof deleteSecret$1> & typeof de
374
379
  declare const updateSecret: BuildRESTFunction<typeof updateSecret$1> & typeof updateSecret$1;
375
380
 
376
381
  type _publicOnSecretCreatedType = typeof onSecretCreated$1;
377
- /** */
382
+ /**
383
+ * Triggered when a secret is created.
384
+ */
378
385
  declare const onSecretCreated: ReturnType<typeof createEventModule<_publicOnSecretCreatedType>>;
379
386
 
380
387
  type _publicOnSecretDeletedType = typeof onSecretDeleted$1;
381
- /** */
388
+ /**
389
+ * Triggered when a secret is deleted.
390
+ */
382
391
  declare const onSecretDeleted: ReturnType<typeof createEventModule<_publicOnSecretDeletedType>>;
383
392
 
393
+ type _publicOnSecretUpdatedType = typeof onSecretUpdated$1;
394
+ /** */
395
+ declare const onSecretUpdated: ReturnType<typeof createEventModule<_publicOnSecretUpdatedType>>;
396
+
384
397
  type index_d_ActionEvent = ActionEvent;
385
398
  type index_d_BaseEventMetadata = BaseEventMetadata;
386
399
  type index_d_CreateSecretRequest = CreateSecretRequest;
@@ -406,21 +419,24 @@ type index_d_RestoreInfo = RestoreInfo;
406
419
  type index_d_Secret = Secret;
407
420
  type index_d_SecretCreatedEnvelope = SecretCreatedEnvelope;
408
421
  type index_d_SecretDeletedEnvelope = SecretDeletedEnvelope;
422
+ type index_d_SecretUpdatedEnvelope = SecretUpdatedEnvelope;
409
423
  type index_d_UpdateSecretRequest = UpdateSecretRequest;
410
424
  type index_d_UpdateSecretResponse = UpdateSecretResponse;
411
425
  type index_d_WebhookIdentityType = WebhookIdentityType;
412
426
  declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
413
427
  type index_d__publicOnSecretCreatedType = _publicOnSecretCreatedType;
414
428
  type index_d__publicOnSecretDeletedType = _publicOnSecretDeletedType;
429
+ type index_d__publicOnSecretUpdatedType = _publicOnSecretUpdatedType;
415
430
  declare const index_d_createSecret: typeof createSecret;
416
431
  declare const index_d_deleteSecret: typeof deleteSecret;
417
432
  declare const index_d_getSecretValue: typeof getSecretValue;
418
433
  declare const index_d_listSecretInfo: typeof listSecretInfo;
419
434
  declare const index_d_onSecretCreated: typeof onSecretCreated;
420
435
  declare const index_d_onSecretDeleted: typeof onSecretDeleted;
436
+ declare const index_d_onSecretUpdated: typeof onSecretUpdated;
421
437
  declare const index_d_updateSecret: typeof updateSecret;
422
438
  declare namespace index_d {
423
- export { type index_d_ActionEvent as ActionEvent, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_CreateSecretRequest as CreateSecretRequest, type index_d_CreateSecretResponse as CreateSecretResponse, type index_d_CreateSecretResponseNonNullableFields as CreateSecretResponseNonNullableFields, type index_d_DeleteSecretRequest as DeleteSecretRequest, type index_d_DeleteSecretResponse as DeleteSecretResponse, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_GetSecretValueRequest as GetSecretValueRequest, type index_d_GetSecretValueResponse as GetSecretValueResponse, type index_d_GetSecretValueResponseNonNullableFields as GetSecretValueResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_ListSecretInfoRequest as ListSecretInfoRequest, type index_d_ListSecretInfoResponse as ListSecretInfoResponse, type index_d_MessageEnvelope as MessageEnvelope, type index_d_RestoreInfo as RestoreInfo, type index_d_Secret as Secret, type index_d_SecretCreatedEnvelope as SecretCreatedEnvelope, type index_d_SecretDeletedEnvelope as SecretDeletedEnvelope, type index_d_UpdateSecretRequest as UpdateSecretRequest, type index_d_UpdateSecretResponse as UpdateSecretResponse, index_d_WebhookIdentityType as WebhookIdentityType, type index_d__publicOnSecretCreatedType as _publicOnSecretCreatedType, type index_d__publicOnSecretDeletedType as _publicOnSecretDeletedType, index_d_createSecret as createSecret, index_d_deleteSecret as deleteSecret, index_d_getSecretValue as getSecretValue, index_d_listSecretInfo as listSecretInfo, index_d_onSecretCreated as onSecretCreated, index_d_onSecretDeleted as onSecretDeleted, onSecretCreated$1 as publicOnSecretCreated, onSecretDeleted$1 as publicOnSecretDeleted, index_d_updateSecret as updateSecret };
439
+ export { type index_d_ActionEvent as ActionEvent, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_CreateSecretRequest as CreateSecretRequest, type index_d_CreateSecretResponse as CreateSecretResponse, type index_d_CreateSecretResponseNonNullableFields as CreateSecretResponseNonNullableFields, type index_d_DeleteSecretRequest as DeleteSecretRequest, type index_d_DeleteSecretResponse as DeleteSecretResponse, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_GetSecretValueRequest as GetSecretValueRequest, type index_d_GetSecretValueResponse as GetSecretValueResponse, type index_d_GetSecretValueResponseNonNullableFields as GetSecretValueResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_ListSecretInfoRequest as ListSecretInfoRequest, type index_d_ListSecretInfoResponse as ListSecretInfoResponse, type index_d_MessageEnvelope as MessageEnvelope, type index_d_RestoreInfo as RestoreInfo, type index_d_Secret as Secret, type index_d_SecretCreatedEnvelope as SecretCreatedEnvelope, type index_d_SecretDeletedEnvelope as SecretDeletedEnvelope, type index_d_SecretUpdatedEnvelope as SecretUpdatedEnvelope, type index_d_UpdateSecretRequest as UpdateSecretRequest, type index_d_UpdateSecretResponse as UpdateSecretResponse, index_d_WebhookIdentityType as WebhookIdentityType, type index_d__publicOnSecretCreatedType as _publicOnSecretCreatedType, type index_d__publicOnSecretDeletedType as _publicOnSecretDeletedType, type index_d__publicOnSecretUpdatedType as _publicOnSecretUpdatedType, index_d_createSecret as createSecret, index_d_deleteSecret as deleteSecret, index_d_getSecretValue as getSecretValue, index_d_listSecretInfo as listSecretInfo, index_d_onSecretCreated as onSecretCreated, index_d_onSecretDeleted as onSecretDeleted, index_d_onSecretUpdated as onSecretUpdated, onSecretCreated$1 as publicOnSecretCreated, onSecretDeleted$1 as publicOnSecretDeleted, onSecretUpdated$1 as publicOnSecretUpdated, index_d_updateSecret as updateSecret };
424
440
  }
425
441
 
426
442
  export { index_d as secrets };
@@ -1,28 +1,32 @@
1
1
  interface Secret$1 {
2
2
  /**
3
- * A globally-unique, immutable identifier assigned to the secret upon creation.
3
+ * Secret ID.
4
4
  * @readonly
5
5
  */
6
6
  id?: string | null;
7
- /** A unique, human-friendly name for the secret. Used for retrieving the secret easily at runtime. */
7
+ /**
8
+ * A unique, human-friendly name for the secret. Use it to retrieve the secret value easily with the [Get Secret Value](https://dev.wix.com/docs/rest/business-management/secrets/get-secret-value) endpoint.
9
+ *
10
+ * **Note:** You can use alphanumeric characters and the following special characters: `_+=-@#$`. Spaces are not supported.
11
+ */
8
12
  name?: string | null;
9
13
  /** An optional text describing the secret's purpose or any other notes about it. */
10
14
  description?: string | null;
11
- /** The confidential value that is intended to be stored encrypted. */
15
+ /** The encrypted confidential value. */
12
16
  value?: string | null;
13
17
  /**
14
- * The creation timestamp of the secret.
18
+ * Date and time when the secret was created.
15
19
  * @readonly
16
20
  */
17
21
  createdDate?: Date;
18
22
  /**
19
- * The last-update timestamp of the secret.
23
+ * Date and time when the secret was updated.
20
24
  * @readonly
21
25
  */
22
26
  updatedDate?: Date;
23
27
  }
24
28
  interface GetSecretValueRequest$1 {
25
- /** The name of the secret to get the value of. */
29
+ /** Secret name. */
26
30
  name: string;
27
31
  }
28
32
  interface GetSecretValueResponse$1 {
@@ -32,27 +36,27 @@ interface GetSecretValueResponse$1 {
32
36
  interface ListSecretInfoRequest$1 {
33
37
  }
34
38
  interface ListSecretInfoResponse$1 {
35
- /** A list of info object for each secret, without the secret value itself */
39
+ /** A list of secrets with encrypted values. */
36
40
  secrets?: Secret$1[];
37
41
  }
38
42
  interface CreateSecretRequest$1 {
39
- /** A set of fields including info and the actual value to protect. */
43
+ /** Details of a secret. */
40
44
  secret: Secret$1;
41
45
  }
42
46
  interface CreateSecretResponse$1 {
43
- /** The globally-unique ID assigned to the secret by the service. */
47
+ /** Secret ID. */
44
48
  id?: string;
45
49
  }
46
50
  interface DeleteSecretRequest$1 {
47
- /** The unique ID of the secret to be deleted. */
51
+ /** ID of the secret to delete. */
48
52
  id: string;
49
53
  }
50
54
  interface DeleteSecretResponse$1 {
51
55
  }
52
56
  interface UpdateSecretRequest$1 {
53
- /** The unique ID of the secret to be updated. */
57
+ /** ID of the secret to update. */
54
58
  id: string;
55
- /** The secret fields to update. */
59
+ /** Details of a secret. */
56
60
  secret: Secret$1;
57
61
  }
58
62
  interface UpdateSecretResponse$1 {
@@ -128,9 +132,9 @@ interface DeleteSecretRequest {
128
132
  interface DeleteSecretResponse {
129
133
  }
130
134
  interface UpdateSecretRequest {
131
- /** The unique ID of the secret to be updated. */
135
+ /** ID of the secret to update. */
132
136
  _id: string;
133
- /** The secret fields to update. */
137
+ /** Details of a secret. */
134
138
  secret: Secret;
135
139
  }
136
140
  interface UpdateSecretResponse {