remove SshKey interface and change object type
[arvados-workbench2.git] / src / models / ssh-key.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { Resource } from '~/models/resource';
6
7 export interface SshKeyCreateFormDialogData {
8     publicKey: string;
9     name: string;
10 }
11
12 export enum KeyType {
13     SSH = 'SSH'
14 }
15
16 export interface SshKeyResource extends Resource {
17     name: string;
18     keyType: KeyType;
19     authorizedUserUuid: string;
20     publicKey: string;
21     expiresAt: string;
22 }