kedacore / keda

KEDA is a Kubernetes-based Event Driven Autoscaling component. It provides event driven scale for any container running in Kubernetes
https://keda.sh
Apache License 2.0
8.57k stars 1.08k forks source link

Add support for AWS RDS credential secrets or just encrypted JSON in AWS TriggerAuth #6312

Open sneljo1 opened 2 weeks ago

sneljo1 commented 2 weeks ago

Proposal

There is a option in secretsmanager to store RDS credentials. This are stored in a fixed format, a key/value object with keys username, password, engine, host, port, dbClusterIdentifier. It would be nice to be able to 1-1 map these properties to the properties triggers.

AS I currently understand it, the full value of the response will be mapped to the parameter right now.

Use-Case

Our use-case would be to directly map this to postgres triggers, but generically, this could also serve different use-cases where users have their own JSON encrypted and need it for different triggers.

Is this a feature you are interested in implementing yourself?

No

Anything else?

No response

JorTurFer commented 2 weeks ago

I thought that there was a feature request to support encrypted json to parse the json and pass a given item from inside the json to the scaler. I think that this is something that definitively we should support as it's an AWS Secrets Manager capability

pravarag commented 2 weeks ago

Hi @JorTurFer , I'd like to take this up if anyone else hasn't started on it yet.