> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tensorpool.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Rotate object storage keys

> Rotate your organization's active object storage access keys and return the new credentials. This action cannot be undone, it impacts the credentials for everyone in your organization!



## OpenAPI

````yaml https://engine.tensorpool.dev/openapi.json post /object-storage/rotate-keys
openapi: 3.1.0
info:
  title: TensorPool API
  description: >
    TensorPool API


    All API endpoints (except `/healthz`) require authentication using your
    TensorPool API key.


    ### For REST Endpoints


    Include your API key in the `Authorization` header as a Bearer token:


    ```bash

    Authorization: Bearer YOUR_TENSORPOOL_KEY

    ```

    ### For WebSocket Endpoints


    Send your API key as the first message in JSON format:


    ```json

    {"TENSORPOOL_KEY": "YOUR_TENSORPOOL_KEY"}

    ```
  version: 0.1.0
servers: []
security: []
tags:
  - name: job
    description: >-
      GPU job execution and management. Run workloads on ephemeral clusters with
      automatic cleanup.
  - name: cluster
    description: >-
      GPU cluster provisioning and lifecycle management. Create persistent
      compute resources.
  - name: storage
    description: >-
      Shared storage volume management. Persistent storage that can be attached
      to eligible clusters.
  - name: object-storage
    description: S3-compatible object storage management.
  - name: ssh
    description: SSH key management for secure cluster access.
  - name: user
    description: >-
      User account management including balance, billing, and organization
      operations.
  - name: requests
    description: Cloud resource provisioning request tracking and status monitoring.
paths:
  /object-storage/rotate-keys:
    post:
      tags:
        - object-storage
      summary: Rotate object storage keys
      description: >-
        Rotate your organization's active object storage access keys and return
        the new credentials. This action cannot be undone, it impacts the
        credentials for everyone in your organization!
      operationId: rotate_keys_object_storage_rotate_keys_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ObjectStorageCredentialsResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    ObjectStorageCredentialsResponse:
      properties:
        org_id:
          type: string
          title: Org Id
          description: Organization ID
        access_key_id:
          type: string
          title: Access Key Id
          description: Access key ID
        secret_access_key:
          type: string
          title: Secret Access Key
          description: Secret access key
        endpoint:
          type: string
          title: Endpoint
          description: S3 endpoint URL
        region:
          type: string
          title: Region
          description: S3 region
        profile_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Profile Id
          description: Unique profile identifier
        iam_username:
          anyOf:
            - type: string
            - type: 'null'
          title: Iam Username
          description: IAM username
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
          description: Profile status
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
          description: Creation timestamp (ISO 8601 datetime)
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated At
          description: Last update timestamp (ISO 8601 datetime)
      type: object
      required:
        - org_id
        - access_key_id
        - secret_access_key
        - endpoint
        - region
      title: ObjectStorageCredentialsResponse
      description: Response model for object-storage credentials and enable operations.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````