---
title: "Lists a mapping of OpenShift versions to identity requirements, which include operatorName, roleDefinitionName, roleDefinitionId, and serviceAccounts."
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/locations/{location}/platformWorkloadIdentityRoleSets"
tags: ["PlatformWorkloadIdentityRoleSets"]
---

# Lists a mapping of OpenShift versions to identity requirements, which include operatorName, roleDefinitionName, roleDefinitionId, and serviceAccounts.

`GET /subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/locations/{location}/platformWorkloadIdentityRoleSets`

This operation returns a list of Platform Workload Identity Role Sets as a string

## Parameters

- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v6/types.json#/components/parameters/LocationParameter` — unresolved $ref

## Response `200`

Azure operation completed successfully.

- PlatformWorkloadIdentityRoleSetList — PlatformWorkloadIdentityRoleSetList represents a List of role sets.
  - `value` PlatformWorkloadIdentityRoleSet[], required — The PlatformWorkloadIdentityRoleSet items on this page — unresolved $ref
  - `nextLink` string, uri — The link to the next page of items

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/azure/apis/redhatopenshift-microsoft-redhatopenshift-openshiftclusters.md) · [All operations](https://skmtc.dev/azure/apis/redhatopenshift-microsoft-redhatopenshift-openshiftclusters/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/redhatopenshift-microsoft-redhatopenshift-openshiftclusters/revisions/bc9747e6523a/schema)
