Opened 3 hours ago
Closed 43 minutes ago
#36169 closed New feature (wontfix)
Allow callable PASSWORD in settings_dict for postgresql backend
Reported by: | Frank Tore Sæther | Owned by: | Tanish Yelgoe |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | 5.1 |
Severity: | Normal | Keywords: | bearer-token, authentication, cloud |
Cc: | Frank Tore Sæther | Triage Stage: | Unreviewed |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
Connecting to cloud-services via bearer token is currently not feasible for continuous services as the token is never refreshed and will ultimately expire.
By setting the password as a callable function a new bearer-token is created on demand when new connection is established.
Attachments (1)
Change History (3)
by , 2 hours ago
Attachment: | base.py.diff added |
---|
comment:1 by , 2 hours ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 43 minutes ago
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Hi Frank, could you please check this ticket #30178 as I believe this might document how to achieve this with the current setup
If this doesn't work for you (or it works but you would still like this feature to be added to Django), you should discuss the idea with the community on the Django Forum, where you'll reach a broader audience and receive additional feedback.
I'll close the ticket for now, but if the community agrees with the proposal, please return to this ticket and reference the forum discussion so we can re-open it.
For more information, please refer to the documented guidelines for requesting features.
git diff for modified file