Skip to content

Java SDK is not able to use credentials created with CLI aws login #6748

@massimeddu-sj

Description

@massimeddu-sj

Describe the feature

Currently the Java SDK is not able to use the credentials created with AWS CLI aws login command.

We would like to remove the legacy static AWS credentials with the new short-live aws login credentials in our dev local machine, but apparently the Java SDK is not able to use them.

Use Case

In dev local machine we would like to remove the usage of long-live static AWS credentials and instead use the aws login command to generate short-live credentials that can be used to develop the applications in a local environment.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS Java SDK version used

2.41.34

JDK version used

21

Operating System and version

linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p2This is a standard priority issueresponse-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 10 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions