Wildfly Datasource password encryption using AES 256 algorithm

413 views
Skip to first unread message

Amit Pareek

unread,
Jan 5, 2023, 8:35:55 AM1/5/23
to WildFly
Hi Team,

In our project we want to encrypt data source password encryption using AES 256 or stronger algorithm.
Wildfly provide password security using elyrton credential store concept and encrypted password can be reference in datasource subsytem using alias.

Can someone help me how AES 256 algorithm can be used to encrypt the password ?

Thanks ,
Amit .

Farah Juma

unread,
Jan 5, 2023, 11:15:53 AM1/5/23
to WildFly
Elytron's encrypted expression support could be used as described here:

Amit Pareek

unread,
Jan 5, 2023, 12:57:27 PM1/5/23
to WildFly
Thanks Farah for the link .

Does AES 256 algorithm can be used to encrypt the password ?

Farah Juma

unread,
Jan 5, 2023, 1:09:11 PM1/5/23
to WildFly
Yes, AES 256 will be used by default.

Amit Pareek

unread,
Jan 5, 2023, 1:20:02 PM1/5/23
to WildFly
Thanks Farah , but is there a reference in any document that AWS 256 is being used ? Which we can use as a reference and proof ?

Darran Lofthouse

unread,
Jan 5, 2023, 1:30:54 PM1/5/23
to WildFly
This is open source we can do one step better ;-) This is the module which contains the implementation:

Amit Pareek

unread,
Jan 5, 2023, 1:33:52 PM1/5/23
to WildFly
Thanks Darran .
Reply all
Reply to author
Forward
0 new messages