Skip to content

Add SSO credentials provider to default chain #461

@aajtodd

Description

@aajtodd

Describe the feature

Integrate the SSO credentials provider into the DefaultCredentialsProvider chain (by way of ProfileCredentialsProvider)

Is your Feature Request related to a problem?

Customers have to manually instantiate and configure an SSO provider. They cannot configure it from a profile and have it work out of the box:

Example,customers would normally configure a profile for SSO and it would be picked up by the default chain:

[profile my-sso-profile]
sso_region = us-east-2
sso_account_id = 123456789
sso_role_name = MySSORole
sso_start_url = https://my-portal-start-url/start

This will not work until the SSO provider is integrated into the default chain, for now they must manually instantiate a provider:

    val ssoProvider = SsoCredentialsProvider(
        accountId = "123456789",
        roleName = "MySSORole",
        startUrl = "https://my-portal-start-url/start",
        ssoRegion = "us-east-2"
    )
    val provider = CachedCredentialsProvider(ssoProvider)

Proposed Solution

No response

Describe alternative solutions or features you've considered

No response

Acknowledge

  • I may be able to implement this feature request

AWS Kotlin SDK version used

0.9.4-beta

Platform (JVM/JS/Native)

JVM

Operating System and version

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions