passren / PyDynamoDB

PyDynamoDB is a Python DB API 2.0 (PEP 249) client for Amazon DynamoDB. A SQLAlchemy dialect is offered as well. Superset official database driver.
Other
16 stars 2 forks source link

Feature request: support `assume_role_with_web_identity` in Connection #36

Closed malatep closed 10 months ago

malatep commented 10 months ago

Hello,

I'd like to raise a feature request for my use-case.

I have Superset running in k8s and I am working with ServiceAccount tokens to get AWS credentials.

In order to get AWS credentials, I would need to make a call to the API assume_role_with_web_identity with the token I provide.

Looking into the Connection class, this is not currently supported.

Related GitHub issue I opened in the Superset repo.

Thank you

passren commented 10 months ago

@malatep Thanks for your feedback. I saw the issue threads you posted in the Superset Repo. Yes, currently Pydynamodb doesn't support assume_rolewith*** yet. I think your request makes sense to add to it. It won't take too long to release in the next version.

passren commented 10 months ago

@malatep v0.5.2 released for adding assume_role_with_web_identity. Please have a try.

Please refer here: Wiki doc