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)

base.py.diff (713 bytes ) - added by Frank Tore Sæther 2 hours ago.
git diff for modified file

Download all attachments as: .zip

Change History (3)

by Frank Tore Sæther, 2 hours ago

Attachment: base.py.diff added

git diff for modified file

comment:1 by Tanish Yelgoe, 2 hours ago

Owner: set to Tanish Yelgoe
Status: newassigned

comment:2 by Sarah Boyce, 43 minutes ago

Resolution: wontfix
Status: assignedclosed

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.

Note: See TracTickets for help on using tickets.
Back to Top