Skip to content

Asynchronous identity_token_provider to WorkloadIdentityCredentials #1901

Description

@jheiss

I have an asynchronous application which uses Workload Identity Federation within AWS to communicate with the Anthropic API. The identity_token_provider function I provide to WorkloadIdentityCredentials needs to make a network call to the AWS STS to get a token. I would like to be able to provide an async function so that I can make that call in a way that is compatible with how the rest of my app works. That does not appear to be supported currently.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions