API for updating of S3 credentials while snapshot is being created

Hi,

I am using Kopia by calling Go API calls.

Is there any way to update S3 credentials of a running snapshot.SaveSnapshot() call when credentials expire in the middle of snapshotting?

Temporary S3 credentials expiration period can be shorter than time needed to create the snapshot.

Thank you,
David