v1

latestOpenAPI 3.0.32026-07-2647121109.1 KB
CWObject

Create access key

Creates a CoreWeave AI Object Storage access key, exchanging a CoreWeave API access token (Cloud token) for object-storage credentials.

post/v1/cwobject/access-key

Request body

durationSecondsinteger required

Lifespan of the resulting access key in seconds. Set to 0 to create a permanent key; set to a positive integer to create a temporary key with that lifespan. Required.

attributesobject

Free-form caller-supplied attributes attached to the key (for example, name).

Response

OK

accessKeyIdstring

The access-key ID.

secretKeystring

The secret access key. Treat as a credential and store it securely on receipt.

principalNamestring

The fully-qualified principal name that owns the access key.

expirystring date-time

The expiration time of the access key. Permanent keys may report a sentinel value.

attributesobject

The attributes that were attached to the key on creation.