Here is a proposal to add support for automatically adding and updating credentials in a credential store:

https://github.com/wildfly/wildfly-proposals/pull/215

Any feedback is welcome.

Thanks,
Farah