Skip to content

Commit 8543fdc

Browse files
committed
Add AWSSDK.Signin dependency to resolve AWS CLI v2 'aws login' credentials
The AWS SDK for .NET v4 resolves credentials from the AWS CLI v2 'aws login' SSO flow via SigninServiceClientHelpers, which reflectively loads the AWSSDK.Signin assembly at runtime. Without an explicit package reference the assembly is absent from the tool output, causing credential resolution to fail with "Assembly AWSSDK.Signin could not be found or loaded". Fixes #1010
1 parent 3ae1704 commit 8543fdc

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"Projects": [
3+
{
4+
"Name": "AWS.Deploy.CLI",
5+
"Type": "Patch",
6+
"ChangelogMessages": [
7+
"Added AWSSDK.Signin dependency to resolve AWS credentials when authenticated using the AWS CLI v2 'aws login' SSO flow"
8+
]
9+
}
10+
]
11+
}

src/AWS.Deploy.CLI/AWS.Deploy.CLI.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
<PackageReference Include="AWSSDK.IdentityManagement" Version="4.0.9.10" />
3030
<PackageReference Include="AWSSDK.CloudFormation" Version="4.0.8.11" />
3131
<PackageReference Include="AWSSDK.SecurityToken" Version="4.0.5.12" />
32+
<PackageReference Include="AWSSDK.Signin" Version="4.0.1.1" />
3233
<PackageReference Include="AWSSDK.SSO" Version="4.0.2.16" />
3334
<PackageReference Include="AWSSDK.SSOOIDC" Version="4.0.3.17" />
3435
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="6.5.0" />

0 commit comments

Comments
 (0)