juanifioren / django-oidc-provider

OpenID Connect and OAuth2 provider implementation for Djangonauts.
http://django-oidc-provider.readthedocs.org
MIT License
423 stars 238 forks source link

Allow customization of where RSA keys are stored #408

Open namanshenoy opened 1 year ago

namanshenoy commented 1 year ago

Although setting RSA keys in the database makes things easy for the majority of users, it would be nice if we could customize where the RSA keys are retrieved from. This enables us to use secret stores like AWS Secrets Manager, Vault, etc to store the private keys. Also enables the import, rotation, etc, of the keys from PKI providers.

I've created a PR #407 to enable this functionality via the use of a hook similar to the other hooks for this plugin.

Looking forward to a response! :)