awx/awxkit
Mike Graves 764dcbf94b
Add gateway support to awxkit (#15576)
* Add gateway support to awxkit

This updates awxkit to add support for gateway when fetching oauth
tokens, which is used during the `login` subcommand. awxkit will first
try fetching a token from gateway and if that fails, fallback to
existing behavior. This change is backwards compatible.

Signed-off-by: Mike Graves <mgraves@redhat.com>

* Address review feedback

This:
  * adds coverage for the get_oauth2_token() method
  * changes AuthUrls to a TypedDict
  * changes the url used for personal token access in gateway

* Address review feedback

This is just minor stylistic changes.

---------

Signed-off-by: Mike Graves <mgraves@redhat.com>
2024-10-16 12:01:30 -04:00
..
2019-08-08 22:12:31 -04:00
2024-02-14 15:12:51 -05:00

awxkit

A Python library that backs the provided awx command line client.

It can be installed by running pip install awxkit.

The PyPI respository can be found here.

For more information on installing the CLI and building the docs on how to use it, look here.