v1

latestOpenAPI 3.1.0AGPL-3.02026-07-1249126143.7 KB
Access key

Imports an existing API key. This feature must only be used for migrations and backup restore.

Do not use it to generate custom key identifiers or you will break your Garage cluster.

post/v2/ImportKey

Request body

accessKeyIdstring required
namestring nullable
secretAccessKeystring required

Response

Access key has been imported

accessKeyIdstring required
createdstring date-time nullable
expirationstring date-time nullable
expiredboolean required
namestring required
secretAccessKeystring nullable