Do I need to remove credentials with withAWS?

Jenkins setup: docker (jenkins/jenkins:2.516.3-lts)

I am new to Jenkins. In my previous tool I have to run the below to remove the AWS STS token:

rm ~/.aws/credentials

With the AWS plugin, I am using [withAWS]( Pipeline: AWS Steps ) to obtain the AWS session. Do I still need to do the cleanup step to remove the credentials? Or is it automatically done?

I searched the pipeline-aws-plugin repo and did not find any information on this