percona / roadmap

Public Percona Roadmaps
10 stars 1 forks source link

[K8SPG-138] Allow using cloud roles to authenticate on the object storage #110

Closed spron-in closed 4 months ago

spron-in commented 6 months ago

Community Note

Tell us about the feature

The pgbackrest configuration could potentially benefit of having extra flags "-repo-s3-key-type" & "-repo-s3-role" available in cr.yaml. 

Example use case is when the PGO is deployed in AWS EKS environment. If there is a S3 IAM role which is attach to the EC2 instances part of the k8s cluster. Then having this two flags, will enable the use of AWS IAM role to provide access to the S3 bucket (for storing backups), without the need of creating and providing dedicated AWS IAM User. In short it will simplify greatly the deployment process in AWS. I believe the same is true for GCP, but I can not confirm for sure. 

UPD:

This ticket might not have the same solution as described above, but the problem remains: it is not possible to use various cloud mechanisms to authenticate on the object storage. For example, AWS IAM role to auth on S3 bucket.

Link to JIRA