Skip to content

Service to re-configure the Postgres DB password on a running Unleash instance #11289

@sacchawla

Description

@sacchawla

Describe the feature request

We are using Unleash standalone instance with PostgresDB as a backend. It is deployed as an Azure Web app, and we are using an Azure managed identity for DB connectivity. The password that's supplied for DB connectivity as part of startup configuration is actually the managed Identity's token. As the token has an expiry of 24 hours, the Unleash server starts generating exceptions after 1 day. It looks like the primary connection used by the server does not get corrupt but some internal services that try to create new connections fail and start logging exceptions. Despite these exceptions, the Unleash service remains up but ends up logging lots of exceptions in our Azure logs. A restart helps to resolve these, but that's not a very clean solution for this issue.

Our request is to provision a service on the 'Unleash' server sdk that can allow us to re-configure a new password/token while the server instance is still running.

Background

The feature will help us avoid implementing a not-so-clean approach of restarting the web app's service every day.

Solution suggestions

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

For later

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions