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

Identitystore doesn't allow delete-user #7561

Closed
roger-bloise-movile opened this issue Jan 3, 2023 · 3 comments
Closed

Identitystore doesn't allow delete-user #7561

roger-bloise-movile opened this issue Jan 3, 2023 · 3 comments
Assignees
Labels
iam response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.

Comments

@roger-bloise-movile
Copy link

Describe the bug

Identitystore doesn't allow delete-user. When i try to use the option (available in the doc , it returns the follow:

`-bash-4.2$ aws identitystore delete-user --user-id= --identity-store-id= --profile=

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

aws help
aws help
aws help

aws: error: argument operation: Invalid choice, valid choices are:

describe-group | describe-user
list-groups | list-users
help

`

Expected Behavior

allow option delete-user

Current Behavior

option doesn't exist

Reproduction Steps

`-bash-4.2$ aws identitystore delete-user --user-id= --identity-store-id= --profile=

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

aws help
aws help
aws help

aws: error: argument operation: Invalid choice, valid choices are:

describe-group | describe-user
list-groups | list-users
help

`

Possible Solution

No response

Additional Information/Context

No response

CLI version used

aws-cli/2.1.10 Python/3.7.3 Linux/3.10.0-1160.36.2.el7.x86_64 exe/x86_64.centos.7 prompt/off AND aws-cli/2.4.17 Python/3.8.8 Linux/5.15.0-56-generic exe/x86_64.ubuntu.20 prompt/off

Environment details (OS name and version, etc.)

aws-cli/2.1.10 Python/3.7.3 Linux/3.10.0-1160.36.2.el7.x86_64 exe/x86_64.centos.7 prompt/off AND aws-cli/2.4.17 Python/3.8.8 Linux/5.15.0-56-generic exe/x86_64.ubuntu.20 prompt/off

@roger-bloise-movile roger-bloise-movile added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jan 3, 2023
@aBurmeseDev
Copy link
Member

Hi @roger-bloise-movile - thanks for reaching out.

I attempted to replicate the error with same command on CLI version 2.9.8 and wasn't able to reproduce. From looking at the error you received, it could either be a version related issue or the argument being entered is invalid. Could you try updating your CLI to recent version as first step to see if that resolves the issue?
Here's guide on updating CLI for your reference: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html

Hope that helps,
John~

@aBurmeseDev aBurmeseDev self-assigned this Jan 3, 2023
@aBurmeseDev aBurmeseDev added response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. iam and removed bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jan 3, 2023
@roger-bloise-movile
Copy link
Author

Oh, that's right @aBurmeseDev. It's working fine on latest version.
Thanks!!

@github-actions
Copy link

github-actions bot commented Jan 4, 2023

⚠️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
iam response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Projects
None yet
Development

No branches or pull requests

2 participants