Skip to content

Releases: onelogin/onelogin-python-aws-assume-role

v2.0.3

Choose a tag to compare

@Subterrane Subterrane released this 17 Jun 14:34
0d92891

What's Changed

New Contributors

Full Changelog: v2.0.2...v2.0.3

v2.0.2

Choose a tag to compare

@Subterrane Subterrane released this 02 Jun 18:45

What's Changed

New Contributors

Full Changelog: v2.0.1...v2.0.2

v2.0.1

Choose a tag to compare

@Subterrane Subterrane released this 29 May 17:39
bd47ecf

Fix

  • Declares the keyring dependency. v2.0.0 crashed on a fresh install with ModuleNotFoundError: No module named 'keyring' — the OSX-keychain feature imports keyring at startup, but it wasn't in install_requires (and requirements.txt named the wrong package). Fresh pip install now works.

Internal

  • Added a CLI-import smoke test so a runtime dependency missing from packaging fails CI.

Upgrade: pip install --upgrade onelogin-aws-assume-role

v2.0.0

Choose a tag to compare

@Subterrane Subterrane released this 29 May 16:14
a80c241

⚠️ Breaking changes

  • Removed the onelogin SDK dependency. The tool now talks to the OneLogin REST API directly via requests. This fixes installs that broke on newer onelogin SDK versions and removes the stale onelogin==2.0.4 pin (#76).
  • Python 3.8+ required. Dropped Python 2.7 / 3.5.

Fixed

  • #76ModuleNotFoundError / dead onelogin==2.0.4 pin. The SDK was rewritten as an OpenAPI-generated client whose SAML-assertion model rejects the success response; the tool no longer depends on it.
  • #69 — a wrong/unauthorized AWS app id (or other non-recoverable error) now fails fast instead of re-submitting credentials up to 6 times, which could lock the OneLogin account.

Added

  • Direct, dependency-light OneLogin client (aws_assume_role/onelogin_client.py) with unit tests.
  • GitHub Actions CI: test matrix on Python 3.8–3.12, and automated PyPI publishing on release.

Notes

This release reworks the authentication path. If you hit a problem, please open an issue — and you can pin the previous release (onelogin-aws-assume-role==1.10.1) in the meantime.

v1.10.1

Choose a tag to compare

@gkhaburzaniya-onelogin gkhaburzaniya-onelogin released this 22 Nov 21:57
a3d0a4c
  • Pin onelogin-python-sdk dependency because version 3.0 has breaking changes.

v1.10.0

Choose a tag to compare

@bzvestey bzvestey released this 06 Jun 23:31
6087324
  • Update to latest OneLogin Python SDK and pin it to version 2
  • Allow using the OneLogin SAML2 APIs so that IP white listing can take effect (--saml-api-version to set between version 1 and 2)
  • Allow setting the IP address used for the SAML assertion via argument (--ip to set the value)

v1.9.0

Choose a tag to compare

@pitbulk pitbulk released this 25 Jan 21:09
  • #56 Default onelogin config directory to ~/.onelogin
  • #54 Support specifying path to config
  • Be able to read accounts.yaml from .onelogin or by providing the config path with the -c option
  • Prevent None value on saml_response at get_attributes method
  • #65 Allow app_id to be set per profile
  • Allow otp to be provided by command line with --otp and it will be used on first interaction only

v1.8.1

Choose a tag to compare

@pitbulk pitbulk released this 28 May 17:07
  • Add support for order by Role.
  • Fix order by account_id.
  • Mark pre-selected aws-account-id or aws-role

v1.8.0

Choose a tag to compare

@pitbulk pitbulk released this 28 May 11:33
  • Sort Account/Role Names on its selection
  • Add support for AWS_Role on credentials file
  • Refactor account_aliases code to only read the aliases file one time

v1.7.0

Choose a tag to compare

@pitbulk pitbulk released this 01 Apr 15:39
  • Support cached SAMLResponse.

  • Add profiles element in onelogin.aws.json. Allows user to define a set of profiles linked to an account id and role so that they don't need to specify this every time the app is run; it is sufficient to just supply the desired profile.

  • Set 'default' as the default profile name

  • Make --aws-role-name optional if --aws-account-id is specified Allow only account id to be specified and automatically select role if only 1 role is available in the given account

  • Fix use of options.profile when the cli handler is using option.profile_name

  • Update OneLogin SDK version

  • Relax dependencies