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

# List Scaleway credentials

> Bearer PAT authentication; RBAC permission `credentials.read`. Returns credential metadata only; access_key and secret_key are never returned.



## OpenAPI

````yaml https://platform.ankra.app/openapi.json get /api/v1/credentials/scaleway
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://platform.ankra.app
security: []
paths:
  /api/v1/credentials/scaleway:
    get:
      tags:
        - Scaleway / Kapsule
      summary: List Scaleway credentials
      description: >-
        Bearer PAT authentication; RBAC permission `credentials.read`. Returns
        credential metadata only; access_key and secret_key are never returned.
      operationId: list_scaleway_credentials_pat
      parameters:
        - description: PAT organisation override.
          in: header
          name: x-ankra-organisation-id
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ScalewayCredentialListItem'
                type: array
          description: Credential metadata
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: Invalid request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: Unauthenticated
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: Permission or CSRF check failed
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: Resource not found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Request validation failed
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: Provider or internal failure
      security:
        - BearerAuth: []
components:
  schemas:
    ScalewayCredentialListItem:
      properties:
        available:
          type: boolean
        created_at:
          format: date-time
          type: string
        health:
          anyOf:
            - additionalProperties: true
              properties: {}
              type: object
            - type: 'null'
        id:
          format: uuid
          type: string
        name:
          type: string
        organisation_id:
          format: uuid
          type: string
        provider:
          const: scaleway
          type: string
        state:
          anyOf:
            - type: string
            - type: 'null'
        system:
          type: boolean
        updated_at:
          format: date-time
          type: string
      required:
        - id
        - name
        - provider
        - organisation_id
        - system
        - available
      type: object
    ContractDetailError:
      example:
        detail: Cluster not found
      properties:
        detail:
          oneOf:
            - type: string
            - additionalProperties: true
              properties: {}
              type: object
      required:
        - detail
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    BearerAuth:
      bearerFormat: PAT
      scheme: bearer
      type: http

````