Skip to content

Add CLI option for removing SSO configuration #9876

Description

@Neven1986

Describe the feature

The feature should allow removing of SSO configuration from the configuration file without manual intervention and provide an option to do it through CLI.

Use Case

Since SSO is sometimes colliding with other means of authentication, it needs to be removed from the configuration file. Currently this is only possible by manually removing configurations artifacts from the configuration files. Since this manual approach is prone to errors, it would be beneficial to have an option which does this for the customer.

Proposed Solution

Introduce an new option which would remove profile SSO artifacts from the configuration file.

aws configure sso [--profile name] remove/unset

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CLI version used

2.31.38

Environment details (OS name and version, etc.)

MacOS 15.7.2 (24G325)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions