Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does the daemon support SSO? #147

Open
jjdonov opened this issue Jul 15, 2021 · 2 comments
Open

Does the daemon support SSO? #147

jjdonov opened this issue Jul 15, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@jjdonov
Copy link

jjdonov commented Jul 15, 2021

We are trying to use the daemon with SSO for local testing and are facing some issues.

2021-07-15T17:05:27-06:00 [Info] Initializing AWS X-Ray daemon 3.3.2
2021-07-15T17:05:27-06:00 [Info] Using buffer memory limit of 163 MB
2021-07-15T17:05:27-06:00 [Info] 2608 segment buffers allocated
2021-07-15T17:05:27-06:00 [Info] Using region: us-west-2
2021-07-15T17:05:27-06:00 [Info] HTTP Proxy server using X-Ray Endpoint : https://xray.us-west-2.amazonaws.com
2021-07-15T17:05:27-06:00 [Info] Starting proxy http server on 127.0.0.1:2000
2021-07-15T17:07:39-06:00 [Error] Unable to sign request: NoCredentialProviders: no valid providers in chain. Deprecated.

From what I understand, the go sdk supports SSO but does the aws-xray-daemon implement this functionality?

My credentials file looks like

[profile <redacted>]
sso_start_url = <redacted>
sso_region = us-west-2
sso_account_id = <redacted>
sso_role_name = <redacted>
region = <redacted>

And we are invoking the daemon with ./xray_mac -o -n us-west-2

@bhautikpip
Copy link
Contributor

Hi @jjdonov,

X-Ray Daemon does not support SSO credential currently it is consuming aws-sdk-go v1.29.29. However, SSO credential provider support released in v1.37.0 release. I will mark this issue as an enhancement to update the aws-sdk-go dependency version in X-Ray Daemon.

@quetzalcoatl
Copy link

quetzalcoatl commented Jul 12, 2023

I think found a workaround in the 3.3.7 version of the daemon. It's ugly, but it seems to work.
Here's the long story: #200 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants