Skip to content
Discussion options

You must be logged in to vote

Actually I misspoke. This works without any changes. Here's my configuration:

context_name: testing
contexts:
  testing:
    output_path: test/data
    connections:
      credential_rules:
        - rules:
            - field: "name"
              regex: "PostgreSQL"
          secure_data: "db.json"
        - rules:
            - field: "name"
              regex: ".*"
          secure_data: "default.json"
    url: http://localhost:3000
    user_name: admin
    password: admin
    watched:
      - General
      - Other

secure/db.json

{
  "password": "secret"
}
gdg -c config/testing.yml backup c clear
gdg -c config/testing.yml backup upload

I confirmed the connection against a docker postg…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by safaci2000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #273 on April 16, 2024 20:47.