AWS SDK for JavaScript STS Client for Node.js, Browser and React Native, providing temporary security credentials and role assumption capabilities
92
Evaluation — 92%
↑ 1.05xAgent success when using this tile
A credential provider system that retrieves AWS credentials from multiple custom sources with fallback support.
@generates
import { AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@aws-sdk/types";
/**
* Creates a custom credential provider that reads from custom environment variables.
*
* @returns An AWS credential identity provider function
* @throws Error when required environment variables are not set
*/
export function customEnvCredentialProvider(): AwsCredentialIdentityProvider;
/**
* Creates a credential provider chain that tries multiple providers in sequence.
*
* @param providers - Array of credential providers to try in order
* @returns An AWS credential identity provider function that implements fallback logic
* @throws Error when all providers fail to provide credentials
*/
export function createCredentialChain(
providers: AwsCredentialIdentityProvider[]
): AwsCredentialIdentityProvider;Provides TypeScript type definitions for AWS SDK credential identities and providers.
@satisfied-by
Provides S3 client for testing credential provider integration.
@satisfied-by
Install with Tessl CLI
npx tessl i tessl/npm-aws-sdk--client-stsdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10