InseeFr / InseeFr/sugoi-api

:sparkles: [ENH] Allow to have secret variables at a realm level

Open
#694 0 comments 0 reactions 0 assignees View on GitHub
enhancement question
Dominant language
Java
Stars
6
Forks
10
Avg merge
9h 15m
Merged PRs (30d)
4

Description

We want to be able to fetch and write a realm with secret variables. For example to override `fr.insee.sugoi.ldap.default.password` so that each store provider can have its own password.

Of course we cannot store this secret unencrypted.

It is possible to implement a solution using a service designed to store secrets (such as hashicorp vault) but I think we should also implement a more straightforward method.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the realm fetch and write entry points and how realm variables are currently stored. Determine the encryption and key-management approach for realm-level secret variables, including overriding provider passwords, then document the behavior and tests needed to verify encrypted storage and retrieval.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.