-
Notifications
You must be signed in to change notification settings - Fork 82
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
ProcessAWSCredentialIdentityResolver issue #1882
Comments
Have you tried using your configured process credential provider with AWS CLI?
where the Let us know if CLI works with your configuration. |
Hi, yes, of course I tried, it all works fine
…On 4 Feb 2025 at 21:26 +0000, Josh Elkins ***@***.***>, wrote:
Have you tried using your configured process credential provider with AWS CLI?
$ aws sts get-caller-identity --profile DEV
where the DEV profile is configured per this guide:
https://docs.aws.amazon.com/sdkref/latest/guide/feature-process-credentials.html#feature-process-credentials-detail-path
Let us know if CLI works with your configuration.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
@conservative-dude Could you copy-paste your |
Sure, it is
```
[profile uat]
credential_process = mytoolname -u myusername -a myaccountnumber -r myrolename
region = us-west-2
```
…On 5 Feb 2025 at 17:22 +0000, Chan ***@***.***>, wrote:
@conservative-dude Could you copy-paste your credential_process line in the config here, redacted as needed?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Thanks for that. Is it possible to use the path of I think what might be happening is that AWS CLI resolves the command successfully because AWS CLI uses same shell environment to invoke it, and as long as that command is in your |
Describe the bug
I have AWS config file with profiles, each of them has
credential_process
set. I tried both ProcessAWSCredentialIdentityResolver and ProfileAWSCredentialIdentityResolver but I can't make it work.If I run credential_process manually in terminal, I'm getting a proper json file
Expected Behavior
I can use profiles with credential_process
Current Behavior
when I try to access S3, I get
AwsCommonRuntimeKit.CommonRunTimeError.crtError(AwsCommonRuntimeKit.CRTError(code: 6159, message: "Valid credentials could not be sourced by the process provider", name: "AWS_AUTH_CREDENTIALS_PROVIDER_PROCESS_SOURCE_FAILURE"))
.Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
AWS SWIFT SDK version used
1.0.56
Compiler and Version used
XCode 16, Swift 6
Operating System and version
MacOS Sequoia
The text was updated successfully, but these errors were encountered: