ilijamt / terraform-provider-awx

A complete terraform provider for AWX
MIT License
6 stars 1 forks source link

Support to authenticate with user token #82

Closed srtab closed 8 months ago

srtab commented 8 months ago

Hi @ilijamt,

Congrats for the excellent work!

I'm using your provider to manage our Tower/AWX instance, and it will be nice to allow authenticating using only a user token to avoid using credentials from the user and make it easier to rotate tokens. Do you think it might make sense to add this feature?

ilijamt commented 8 months ago

I'll look into it. Shouldn't be too difficult to add. I guess you are talking about the Personal Access Tokens for a user, right? https://docs.ansible.com/ansible-tower/latest/html/administration/oauth2_token_auth.html

srtab commented 8 months ago

Right @ilijamt :D Thanks!

ilijamt commented 8 months ago

With the new release, PAT should be usable.