Keys
Create Object Storage Key
client.Storage.Keys.New(ctx, body) (*ObjectStorageKeyWithSecret, error)
POST/v1/storage/keys
Get Object Storage Key Details
client.Storage.Keys.Get(ctx, keyID) (*ObjectStorageKey, error)
GET/v1/storage/keys/{key_id}
Update Object Storage Key
client.Storage.Keys.Update(ctx, keyID, body) (*ObjectStorageKey, error)
PATCH/v1/storage/keys/{key_id}
Delete Object Storage Key
client.Storage.Keys.Delete(ctx, keyID) error
DELETE/v1/storage/keys/{key_id}
List Object Storage Keys
client.Storage.Keys.List(ctx, query) (*Cursor[ObjectStorageKey], error)
GET/v1/storage/keys
ModelsExpand Collapse
type ObjectStorageKey struct{…}Object Storage Key details. The secret access key is only returned when the key is created.
type ObjectStorageKey struct{…}
Object Storage Key details. The secret access key is only returned when the key is created.
Region RegionNameRegion the resource is in.
Region RegionName
Region the resource is in.
Status ResourceStatusStatus of the resource.
Status ResourceStatus
Status of the resource.
type ObjectStorageKeyList struct{…}
type ObjectStorageKeyList struct{…}
Items []ObjectStorageKey
Items []ObjectStorageKey
Region RegionNameRegion the resource is in.
Region RegionName
Region the resource is in.
Status ResourceStatusStatus of the resource.
Status ResourceStatus
Status of the resource.
Pagination PaginationPagination response details.
Pagination Pagination
Pagination response details.
type ObjectStorageKeyWithSecret struct{…}Object Storage Key details, including the secret access key. Returned only when the key is created.
type ObjectStorageKeyWithSecret struct{…}
Object Storage Key details, including the secret access key. Returned only when the key is created.
Region RegionNameRegion the resource is in.
Region RegionName
Region the resource is in.
Secret string
S3 secret access key. It is only returned here and cannot be retrieved again: store it securely, or delete the key and create a new one if it is lost.
Status ResourceStatusStatus of the resource.
Status ResourceStatus
Status of the resource.