developmentseed / developmentseed/eoapi-cdk

Add mechanism to rotate credentials for pgstac_user

Open
#203 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
29
Forks
6
Avg merge
1d 2h
Merged PRs (30d)
7

Description

There could be scenarios where it would be useful to be able to rotate the credentials (i.e. password) for the pgstac_user on the pgstac database. This would involve:

1. Generating a new password, updating the secret (pgbouncer and otherwise)
2. Connecting to the database and updating the password for pgstac_user
3. Updating the credentials on the pgbouncer instance if it exists

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the code that creates or updates the pgstac_user secret, connects to the pgstac database, and configures the pgbouncer instance if present. Trace how credentials currently reach each component, then define completion as generating a new password, updating all relevant secrets, changing the database password, and synchronizing pgbouncer credentials.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, postgresql, python
Domain
cloud, databases, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.