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

aws iam create-open-id-connect-provider don't take the parameters --url and --thumbprint-list as expected #8479

Closed
PatrickBichiou opened this issue Jan 17, 2024 · 4 comments
Assignees
Labels
bug This issue is a bug. iam p3 This is a minor priority issue

Comments

@PatrickBichiou
Copy link

Describe the bug

aws iam create-open-id-connect-provider ‐‐url "https://token.actions.githubusercontent.com" ‐‐thumbprint-list "6938fd4d98bab03faadb97b34396831e3780aea1" ‐‐client-id-list "sts.amazonaws.com" --profile xxxxxxxxx

usage: aws [options] [ ...] [parameters]
To see help text, you can run:

aws help
aws help
aws help

aws.exe: error: the following arguments are required: --url, --thumbprint-list

Expected Behavior

take the arguments as expected

Current Behavior

aws.exe: error: the following arguments are required: --url, --thumbprint-list

Reproduction Steps

aws iam create-open-id-connect-provider ‐‐url "https://token.actions.githubusercontent.com" ‐‐thumbprint-list "6938fd4d98bab03faadb97b34396831e3780aea1" ‐‐client-id-list "sts.amazonaws.com" --profile xxxxxxxxx

Possible Solution

No response

Additional Information/Context

No response

CLI version used

2,12,1 and 2.15.10

Environment details (OS name and version, etc.)

Windows 11 10.0.22621 Build 2621

@PatrickBichiou PatrickBichiou added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jan 17, 2024
@RyanFitzSimmonsAK RyanFitzSimmonsAK self-assigned this Jan 18, 2024
@RyanFitzSimmonsAK RyanFitzSimmonsAK added response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. iam p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels Jan 18, 2024
@RyanFitzSimmonsAK
Copy link
Contributor

Hi @PatrickBichiou, thanks for reaching out. It looks like you're using a different Unicode character from what the AWS CLI is expecting. The hyphen on my keyboard, and the one the AWS CLI is expecting, is U+002D. The hyphen in the code sample you provided is U+2010. Changing the hyphens to be --url and --thumbprint-list should make it work as intended.

@RyanFitzSimmonsAK RyanFitzSimmonsAK added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Jan 18, 2024
@PatrickBichiou
Copy link
Author

Hi @RyanFitzSimmonsAK, thanks for the fast answer. I will look into it and give you feedback asap.

@github-actions github-actions bot removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Jan 22, 2024
@PatrickBichiou
Copy link
Author

@RyanFitzSimmonsAK: A colleague of mine tested it again and it was the issue. Sorry and thanks for the fast help. It was a copy & paste windows issue.

Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. iam p3 This is a minor priority issue
Projects
None yet
Development

No branches or pull requests

2 participants