Skip to content

Allow providing SSL CA certificates to graphile-migrate CLI #243

Description

@foxfriends

Feature description

I am looking for a way to provide a path to additional SLL certificate(s) for the database connection strings.

GRAPHILE_SSL_CA_CERT=./some-cert-path graphile-migrate migrate 

Or via the config file, passing the options along to the underlying pg-pool:

{
  "pgopts": { "ssl": { "ca": "path-to-cert" } }
}

Motivating example

I am attempting to use graphile-migrate (2.0.0-rc.2) to migrate a DigitalOcean managed database, which as previously recognized uses self-signed certificates.

Supporting development

I [tick all that apply]:

  • am interested in building this feature myself
  • am interested in collaborating on building this feature
  • am willing to help testing this feature before it's released
  • am willing to write a test-driven test suite for this feature (before it exists)
  • am a Graphile sponsor ❤️
  • have an active support or consultancy contract with Graphile

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions