Hi Aakash,
It is possble to change credentials in credential manager with the help of action 'Generate and set' avaiable in Internal Object 'Credentials'
Check set collection action input values, in your case enter field name like ""a"". it helped.
Use another method with calculation stage, enter data item in expression and collection field name in result.