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

# List predefined identity providers

> Lists the identity providers Baseten supports and the issuer each one needs.

> [!NOTE]
>
> [Workload identity federation](https://docs.baseten.co/organization/workload-identity.md) is in **Private Preview**.


## OpenAPI

````yaml get /v1/access/predefined_identity_providers
openapi: 3.1.0
info:
  description: REST API for management of Baseten resources
  title: Baseten management API
  version: 1.0.0
servers:
  - url: https://api.baseten.co
security:
  - BearerAuth: []
paths:
  /v1/access/predefined_identity_providers:
    get:
      summary: Lists predefined identity providers
      description: >-
        Lists the identity providers Baseten supports, with the issuer format
        for those where each account, tenant, or cluster has its own issuer.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PredefinedIdentityProvidersV1'
      x-codeSamples:
        - lang: bash
          source: >
            curl --request GET \

            --url https://api.baseten.co/v1/access/predefined_identity_providers
            \

            --header "Authorization: Bearer $BASETEN_API_KEY"
        - lang: python
          source: >-
            import requests

            import os

            API_KEY = os.environ.get("BASETEN_API_KEY", "<YOUR_API_KEY>")

            url =
            "https://api.baseten.co/v1/access/predefined_identity_providers"


            headers = {"Authorization": f"Bearer {API_KEY}"}


            response = requests.request(
                "GET",
                url,
                headers=headers,
                json={}
            )


            print(response.text)
components:
  schemas:
    PredefinedIdentityProvidersV1:
      properties:
        items:
          description: Identity providers Baseten supports
          items:
            $ref: '#/components/schemas/PredefinedIdentityProviderV1'
          title: Items
          type: array
      required:
        - items
      title: PredefinedIdentityProvidersV1
      type: object
    PredefinedIdentityProviderV1:
      properties:
        kind:
          $ref: '#/components/schemas/PredefinedIdentityProviderKindV1'
          description: Pass as `kind` when adding the provider
        name:
          description: Display name
          title: Name
          type: string
        issuer_url:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          description: >-
            The `iss` claim its tokens carry. Null when each account, tenant, or
            cluster has its own issuer, which you pass as `issuer_url` when
            adding the provider.
          title: Issuer Url
        issuer_url_example:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          description: >-
            An example of the `issuer_url` to pass. Null when the issuer is
            fixed.
          title: Issuer Url Example
      required:
        - kind
        - name
      title: PredefinedIdentityProviderV1
      type: object
    PredefinedIdentityProviderKindV1:
      description: An identity provider Baseten supports.
      enum:
        - GITHUB_ACTIONS
        - GCP
        - BASETEN
        - AWS_IAM
        - AWS_EKS
        - AZURE_MANAGED_IDENTITY_V1
        - AZURE_MANAGED_IDENTITY_V2
        - AZURE_AKS
      title: PredefinedIdentityProviderKindV1
      type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Send `Authorization: Bearer <api_key>`. The legacy `Authorization:
        Api-Key <api_key>` scheme is also accepted.

````