Skip to content

Fixing issue with credential_process on windows - #4784

Draft
landonxjames wants to merge 4 commits into
mainfrom
landonxjames/windows-space-fix
Draft

Fixing issue with credential_process on windows#4784
landonxjames wants to merge 4 commits into
mainfrom
landonxjames/windows-space-fix

Conversation

@landonxjames

@landonxjames landonxjames commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Motivation and Context

Internal customer reported that credential_process would fail on windows if the path contained a space. That wasn't caught because we disabled most of the credential_process tests on Windows (due to them using unix style paths). Fixed that with raw_arg, but still wasn't able to test it in CI.

Testing

This is the larger part of this PR. Created a standalone CI task test-rust-windows-aws-config. It runs the aws-config tests with a minimal set of features cargo test --no-default-features --features "credentials-process,rt-tokio" to get around issues with aws-lc on Windows.

#4755 added a new feature to aws-config doubling the amount of tests run by cargo hack. That was timing out sometimes so this PR also increases the timeout for that test.

Checklist

  • For changes to the AWS SDK, generated SDK code, or SDK runtime crates, I have created a changelog entry Markdown file in the .changelog directory, specifying "aws-sdk-rust" in the applies_to key.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

It would fail to resolve credentials if the path contained a space
@github-actions

Copy link
Copy Markdown

A new generated diff is ready to view.

  • AWS SDK (ignoring whitespace)
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

@github-actions

Copy link
Copy Markdown

A new generated diff is ready to view.

  • AWS SDK (ignoring whitespace)
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

@github-actions

Copy link
Copy Markdown

A new generated diff is ready to view.

  • AWS SDK (ignoring whitespace)
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

1 similar comment
@github-actions

Copy link
Copy Markdown

A new generated diff is ready to view.

  • AWS SDK (ignoring whitespace)
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

@github-actions

Copy link
Copy Markdown

A new generated diff is ready to view.

  • AWS SDK (ignoring whitespace)
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

1 similar comment
@github-actions

Copy link
Copy Markdown

A new generated diff is ready to view.

  • AWS SDK (ignoring whitespace)
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant