Get information about docker hub personal tokens.
Version added: 0.4.0
- Get information about docker hub personal tokens.
- https://docs.docker.com/docker-hub/api/latest/#tag/access-tokens
The below requirements are needed on the host that executes this module.
- requests
- name: get jwt token from docker hub
community.missing_collection.docker_hub_token:
username: 'testUser'
password: 'aDL0xxxxxxxxxxoQt6'
register: '__'
- name: get information about all personal tokens
community.missing_collection.docker_hub_personal_token_info:
token: '{{ __.token }}'
register: '__all'
- name: get information about one personal tokens
community.missing_collection.docker_hub_personal_token_info:
token: '{{ __.token }}'
uuid: '{{ __all.result.results[0].uuid }}'
Common return values are documented here, the following are the fields unique to this module:
- Davinder Pal (@116davinder) <dpsangwal@gmail.com>