buckets
Rotate bucket credentials
Replace a bucket's stored credentials.
Only available for access_key buckets — assume_role buckets store no credentials (manage access via the role's trust policy instead). The new credentials are re-validated against the bucket's existing (immutable) identity before they are persisted. The credentials version is bumped so cached storage clients rebuild.
Args: bucket_id: The ID of the bucket to rotate credentials for. params: The new bucket access credentials.
Returns: Bucket: The updated bucket. Credentials are never returned.
post/v1/buckets/{bucket_id}/credentials
Request
- Base URLhttps://api.mixedbread.com
- URLhttps://api.mixedbread.com/v1/buckets/{bucket_id}/credentials
- AuthHTTP bearer
Path parameters
bucket_idstring uuid required
The ID of the bucket to rotate credentials for
Request body
Response
The bucket with rotated credentials
Changes
No recorded changes to this operation across all 44 revisions of this API.