Go1.10 will ship with a driver 
connector https://tip.golang.org/pkg/database/sql/driver/#Connector . It 
would be possible for a driver to provide a callback function that returned 
the most recent authentication parameters by using that.

Thanks, -Daniel


On Tuesday, November 7, 2017 at 5:34:20 AM UTC-8, Anthony Gruetzmacher 
wrote:
>
> It appears the Generic Interface for SQL (database/sql) does not support 
> the ability to use short lived DSN's for cases like AWS's IAM 
> Authentication to RDS instances. It appears that when doing its connection 
> pooling activities it always uses whatever DSN was passed initially on Open.
>
> 1) Is this correct.
> 2) Assuming one is correct would the Golang project every consider adding 
> this feature?
> 3) If the answer is yes. How would one go about either helping to get it 
> on the road map or better yet contributing this feature back to the 
> community? What is this process?
>
> Thanks,
> Anthony Gruetzmacher
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to