The collection remote for pulp_ansible stores tokens in plaintext instead of using pulp's encrypted field (https://github.com/pulp/pulp_ansible/blob/main/pulp_ansible/app/models.py#L234) and exposes them in read/write mode via the API (https://github.com/pulp/pulp_ansible/blob/main/pulp_ansible/app/serializers.py#L170) instead of marking it as write only.
This issue has been addressed in the following products: Red Hat Satellite 6.14 for RHEL 8 Via RHSA-2023:6818 https://access.redhat.com/errata/RHSA-2023:6818