Home icon
New: Improved flexibility when configuring endpoint URLs with the AWS SDKs and tools

Blog



This article announces improved flexibility for configuring endpoint URLs in AWS SDKs and CLI tools through shared configuration files and environment variables.

  • Configure endpoint URLs via environment variables or SDK shared configuration file
  • Set global endpoint URL for all AWS services or service-specific endpoints
  • Use AWS_ENDPOINT_URL for all services or AWS_ENDPOINT_URL_[SERVICE] for specific services
  • Configure multiple service endpoints simultaneously for local development
  • Precedence order: CLI parameter > service-specific env var > global env var > services config > profile config
  • Requires AWS CLI 1.29.0+ or 2.13.0+
  • Supported in .NET, Python, Ruby, PowerShell SDKs and AWS CLI

This feature simplifies switching between local and production environments without modifying application code.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.