Skip to content

Commit

Permalink
feat(secret_manager): add new secret types (#1175)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Mar 7, 2024
1 parent a5fd4cc commit 66382b5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
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

0 comments on commit 66382b5

Please sign in to comment.