---
title: "Get Workload Identity Provider"
method: GET
path: "/workload-identity-providers/{workload_identity_provider}"
tags: ["workload-identity-providers"]
---

# Get Workload Identity Provider

`GET /workload-identity-providers/{workload_identity_provider}`

## Request

- Base URL: `https://example.scalr.io/api/iacp/v3`
- URL: `https://example.scalr.io/api/iacp/v3/workload-identity-providers/{workload_identity_provider}`
- Auth: HTTP bearer

Get Workload Identity Provider.

## Path parameters

- `workload_identity_provider` string, required

## Response `200`

Success.

- WorkloadIdentityProviderDocument: JSON:API Document. see: https://jsonapi.org/format/#document-structure
  - `data` WorkloadIdentityProvider: External OpenID Connect 1.0 compliant identity provider.
    - `attributes` object, required
      - `allowed-audiences` string[], required: A list of audiences allowed for the IdP tokens.
      - `created-at` string, date-time: The UTC datetime at which the workload identity provider was created.
      - `created-by-email` string, nullable: Email of the user who created workload identity provider.
      - `name` string, required: The name of the workload identity provider.
      - `status` 'pending' | 'active' | 'invalid_provider_settings' | 'fetch_jwks_error' | 'not_supported_jwks' | 'internal_error': The status of the workload identity provider.
      - `url` string, required: The publicly available URL of the IdP (must start with "https://", not include a port number and not end with a trailing slash).
    - `id` string
    - `links` object
    - `relationships` object
      - `assume-service-account-policies` object
        - `data` object[], nullable, required
          - `id` string, required
          - `type` 'assume-service-account-policies' | '', required
    - `type` 'workload-identity-providers', required
  - `included` object[]
  - `meta` object

## Other responses

- `403`: User unauthorized to perform this action.
- `4XX`: Client error.
- `5XX`: Server error.

---

[API](https://skmtc.dev/scalr/apis/scalr-iacp-api.md) - [All operations](https://skmtc.dev/scalr/apis/scalr-iacp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scalr/apis/scalr-iacp-api/revisions/d3e1dc85657a?raw)
