Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow environment variables in schema definition #38

Merged
merged 4 commits into from
Dec 13, 2021

Conversation

nurikk
Copy link
Contributor

@nurikk nurikk commented Dec 7, 2021

Hi! This PR introduces environment variable substitution for schema configuration

Now you can craft config file like this:

    tables:
     - auth_user:
        search: id  = '${USER_ID_TO_BE_DELETED}'
        fields:
         - first_name:
            provider:
              name: clear

and then run
USER_ID_TO_BE_DELETED=145 anonymizer

@hkage
Copy link
Contributor

hkage commented Dec 9, 2021

Hi, thanks again for another contribution 👍 I will take a look at it as soon as possible. The feature looks promising and useful.

@hkage
Copy link
Contributor

hkage commented Dec 13, 2021

Looks good to me 👍 Thanks for the pull request!

@hkage hkage merged commit 5fd4953 into rheinwerk-verlag:development Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants