Skip to content

Commit

Permalink
feat(iam): add visible and deletable on product api keys (#1483)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan R. <[email protected]>
  • Loading branch information
scaleway-bot and jremy42 authored Oct 15, 2024
1 parent a483682 commit e06a7a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/clients/src/api/iam/v1alpha1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export const unmarshalAPIKey = (data: unknown): APIKey => {
createdAt: unmarshalDate(data.created_at),
creationIp: data.creation_ip,
defaultProjectId: data.default_project_id,
deletable: data.deletable,
description: data.description,
editable: data.editable,
expiresAt: unmarshalDate(data.expires_at),
Expand Down
2 changes: 2 additions & 0 deletions packages/clients/src/api/iam/v1alpha1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ export interface APIKey {
defaultProjectId: string
/** Defines whether or not the API key is editable. */
editable: boolean
/** Defines whether or not the API key is deletable. */
deletable: boolean
/** Defines whether or not the API key is managed. */
managed: boolean
/** IP address of the device that created the API key. */
Expand Down

0 comments on commit e06a7a9

Please sign in to comment.