Skip to content

AnthropicAwsCredentials

Namespace: Vercel.AI.Anthropic

public sealed class AnthropicAwsCredentials

AWS credentials used to sign Claude Platform requests.

Inheritance: object

View source

AnthropicAwsCredentials(string, string, string, string?)

Section titled “AnthropicAwsCredentials(string, string, string, string?)”
public AnthropicAwsCredentials(string region, string accessKeyId, string secretAccessKey, string? sessionToken = null)

Creates credentials.

Parameters

Name Type Description
region string
accessKeyId string
secretAccessKey string
sessionToken string

View source

public string AccessKeyId { get; }

Access key id.

Value: string

View source

public string Region { get; }

AWS region.

Value: string

View source

public string SecretAccessKey { get; }

Secret access key.

Value: string

View source

public string? SessionToken { get; }

Optional session token.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product