S3 backup using an IAM role

Hello,

I am using PerconaPGCluster and I want to create an s3 backup.
The docs tell how to do it with secret id and key but I want to use a role.
Is it possible?

Thanks in advance