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

# ServiceUserFederatedPolicy

> Trusts OpenID Connect tokens from an external issuer, such as a CI provider, whose claims meet every condition.

**Required scopes:** [`user_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-user_write)

**conditions** `[\[ServiceUserClaimCondition!\]!](/docs/api-reference/v3/reference/service-users/service-user-claim-condition)` *required*

Conditions on the token's claims. Every one must match.

**fields**

**claim** `String!` *required*

A JSON Pointer into the token's claims, such as "/sub".

**pattern** `String!` *required*

The value the claim must match. `*` matches any characters.

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the credential was created.

**id** `ID!` *required*

The id of this credential.

**issuer** `String!` *required*

The issuer whose tokens the policy trusts.

**lastUsedAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When the credential last authenticated, or null if it never has.

**name** `String!` *required*

A label that helps recognize the credential.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.