1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: Apache-2.0
9 // AuthorizedKey is an arvados#authorizedKey resource.
10 type AuthorizedKey struct {
11 UUID string `json:"uuid"`
12 Etag string `json:"etag"`
13 OwnerUUID string `json:"owner_uuid"`
14 CreatedAt time.Time `json:"created_at"`
15 ModifiedAt time.Time `json:"modified_at"`
16 ModifiedByClientUUID string `json:"modified_by_client_uuid"`
17 ModifiedByUserUUID string `json:"modified_by_user_uuid"`
18 Name string `json:"name"`
19 AuthorizedUserUUID string `json:"authorized_user_uuid"`
20 PublicKey string `json:"public_key"`
21 KeyType string `json:"key_type"`
22 ExpiresAt time.Time `json:"expires_at"`
25 // AuthorizedKeyList is an arvados#authorizedKeyList resource.
26 type AuthorizedKeyList struct {
27 Items []AuthorizedKey `json:"items"`
28 ItemsAvailable int `json:"items_available"`
29 Offset int `json:"offset"`
30 Limit int `json:"limit"`