New feature

IAM Roles Anywhere now offers a Java plugin for the AWS SDK

IAM Roles Anywhere provides a plugin for the AWS SDK for Java v2, allowing workloads running outside AWS to obtain temporary AWS credentials directly within the Java application process, eliminating the need for a separate credential helper process.

IAM Roles Anywhere provides a plugin for the AWS SDK for Java v2, enabling workloads running outside AWS to retrieve temporary AWS credentials directly within Java applications. The plugin runs in the same JVM as the application, eliminating the need to run the IAM Roles Anywhere credential helper in a separate process or configure credential_process in the AWS profile. Users can automatically resolve temporary credentials by configuring the plugin in the AWS SDK for Java v2 service client builder. The plugin calls CreateSession and automatically refreshes credentials before expiration. It supports RSA, elliptic curve (EC), and ML-DSA keys, requiring Java 8 or higher. Using this plugin incurs no additional charges. IAM Roles Anywhere is available in all AWS regions, including AWS GovCloud (US), AWS European Sovereign Cloud (Germany), and China regions.

Why it matters

IAM Roles Anywhere is a service that allows applications running outside AWS to securely access AWS resources. This update improves security and usability by enabling direct credential retrieval within Java applications.

Read the original AWS announcement