Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/clients/src/api/secret/v1beta1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ export class API extends ParentAPI {
['path', request.path],
['project_id', request.projectId],
['tags', request.tags],
['type', request.type],
),
},
unmarshalListSecretsResponse,
Expand Down
11 changes: 10 additions & 1 deletion packages/clients/src/api/secret/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,14 @@ export type Product = 'unknown_product' | 'edge_services'

export type SecretStatus = 'unknown_status' | 'ready' | 'locked'

export type SecretType = 'unknown_type' | 'opaque' | 'certificate' | 'key_value'
export type SecretType =
| 'unknown_type'
| 'opaque'
| 'certificate'
| 'key_value'
| 'basic_credentials'
| 'database_credentials'
| 'ssh_key'

export type SecretVersionStatus =
| 'unknown_status'
Expand Down Expand Up @@ -416,6 +423,8 @@ export type ListSecretsRequest = {
path?: string
/** Filter by ephemeral / not ephemeral (optional). */
ephemeral?: boolean
/** Filter by secret type (optional). */
type?: SecretType
}

export interface ListSecretsResponse {
Expand Down