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

Add user token #28

Merged
merged 3 commits into from
Apr 2, 2024
Merged

Conversation

derekwaters
Copy link
Contributor

What does this PR do?

This PR implements a module and role allowing for the creation of AWX/AAP access tokens in EDA. Tokens can only be created for the user accessing the EDA API via the role. Note that the API does not allow for searching for a token by name, or of updating tokens. The only way to detect that a token with a given name exists is to try and create it, and detect a HTTP 409 error.

How should this be tested?

Automated test included in the testing_collections_playbook.yml file

Is there a relevant Issue open for this?

No

Other Relevant info, PRs, etc

No other relevant PRs.

Copy link
Contributor

@djdanielsson djdanielsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome, can't wait to try it out

@djdanielsson djdanielsson merged commit 84bfafe into redhat-cop:devel Apr 2, 2024
2 of 8 checks passed
@Tompage1994 Tompage1994 mentioned this pull request Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants