Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

workload-identity-federation changedmanage-claude/workload-identity-federation

Nearest release: v2.1.309, published 3 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+70added
Lines−70removed
From line 188 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits16to this page, all time

The whole hunk

from line 188, old and new numbered
/
lines
from line 188
188188 }
189189 ```
190190 
191 ```csharp C#
192 using Anthropic.Credentials;
193 // ...
194 
195 var credentials = new WorkloadIdentityCredentials(new WorkloadIdentityOptions
196 {
197 FederationRuleId = "fdrl_...",
198 OrganizationId = "00000000-0000-0000-0000-000000000000",
199 ServiceAccountId = "svac_...",
200 WorkspaceId = "wrkspc_...",
201 IdentityTokenProvider = new FileIdentityTokenProvider("/var/run/secrets/anthropic.com/token"),
202 });
203 using var client = new AnthropicClient(new ClientOptions { Credentials = credentials });
204 
205 var message = await client.Messages.Create(new()
206 {
207 Model = Model.ClaudeOpus5_5,
208 MaxTokens = 1024,
209 Messages = [new UserMessageParam { Content = "Hello, Claude" }],
210 });
211 foreach (var block in message.Content)
212 {
213 if (block.Value is TextBlock textBlock)
214 {
215 Console.WriteLine(textBlock.Text);
216 }
217 }
218 ```
219 
191220 ```go Go
192221 client := anthropic.NewClient(
193222 option.WithFederationTokenProvider(
from line 261
232261 
233262 void main() {
234263 AnthropicClient client = AnthropicOkHttpClient.builder()
235 .fromEnv()
236 .configurationProvider(InMemoryProfileConfigProvider.of(ProfileConfig.builder()
237 .organizationId("00000000-0000-0000-0000-000000000000")
238 .workspaceId("wrkspc_...")
239 .authentication(AuthenticationConfig.builder()
240 .type(AuthenticationType.OIDC_FEDERATION)
241 .federationRuleId("fdrl_...")
242 .serviceAccountId("svac_...")
243 .identityToken(IdentityTokenConfig.builder()
244 .source("file")
245 .path("/var/run/secrets/anthropic.com/token")
246 .build())
247 .build())
248 .build()))
249 .build();
264 .fromEnv()
265 .configurationProvider(InMemoryProfileConfigProvider.of(ProfileConfig.builder()
266 .organizationId("00000000-0000-0000-0000-000000000000")
267 .workspaceId("wrkspc_...")
268 .authentication(AuthenticationConfig.builder()
269 .type(AuthenticationType.OIDC_FEDERATION)
270 .federationRuleId("fdrl_...")
271 .serviceAccountId("svac_...")
272 .identityToken(IdentityTokenConfig.builder()
273 .source("file")
274 .path("/var/run/secrets/anthropic.com/token")
275 .build())
276 .build())
277 .build()))
278 .build();
250279 
251280 var message = client.messages().create(MessageCreateParams.builder()
252 .model(Model.CLAUDE_OPUS_5_5)
253 .maxTokens(1024)
254 .addUserMessage("Hello, Claude")
255 .build());
281 .model(Model.CLAUDE_OPUS_5_5)
282 .maxTokens(1024)
283 .addUserMessage("Hello, Claude")
284 .build());
256285 
257286 IO.println(message.content());
258 }
259 ```
260 
261 ```csharp C#
262 using Anthropic.Credentials;
263 // ...
264 
265 var credentials = new WorkloadIdentityCredentials(new WorkloadIdentityOptions
266 {
267 FederationRuleId = "fdrl_...",
268 OrganizationId = "00000000-0000-0000-0000-000000000000",
269 ServiceAccountId = "svac_...",
270 WorkspaceId = "wrkspc_...",
271 IdentityTokenProvider = new FileIdentityTokenProvider("/var/run/secrets/anthropic.com/token"),
272 });
273 using var client = new AnthropicClient(new ClientOptions { Credentials = credentials });
274 
275 var message = await client.Messages.Create(new()
276 {
277 Model = Model.ClaudeOpus5_5,
278 MaxTokens = 1024,
279 Messages = [new UserMessageParam { Content = "Hello, Claude" }],
280 });
281 foreach (var block in message.Content)
282 {
283 if (block.Value is TextBlock textBlock)
284 {
285 Console.WriteLine(textBlock.Text);
286 }
287287 }
288288 ```
289289 
Feedback