File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
packages/clients/src/api/secret/v1beta1 Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ export class API extends ParentAPI {
149149 [ 'path' , request . path ] ,
150150 [ 'project_id' , request . projectId ] ,
151151 [ 'tags' , request . tags ] ,
152+ [ 'type' , request . type ] ,
152153 ) ,
153154 } ,
154155 unmarshalListSecretsResponse ,
Original file line number Diff line number Diff line change @@ -24,7 +24,14 @@ export type Product = 'unknown_product' | 'edge_services'
2424
2525export type SecretStatus = 'unknown_status' | 'ready' | 'locked'
2626
27- export type SecretType = 'unknown_type' | 'opaque' | 'certificate' | 'key_value'
27+ export type SecretType =
28+ | 'unknown_type'
29+ | 'opaque'
30+ | 'certificate'
31+ | 'key_value'
32+ | 'basic_credentials'
33+ | 'database_credentials'
34+ | 'ssh_key'
2835
2936export type SecretVersionStatus =
3037 | 'unknown_status'
@@ -416,6 +423,8 @@ export type ListSecretsRequest = {
416423 path ?: string
417424 /** Filter by ephemeral / not ephemeral (optional). */
418425 ephemeral ?: boolean
426+ /** Filter by secret type (optional). */
427+ type ?: SecretType
419428}
420429
421430export interface ListSecretsResponse {
You can’t perform that action at this time.
0 commit comments