Allow providing SSL CA certificates to graphile-migrate CLI

オープン
#243 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
postgresql, typescript
領域
cli, databases

調査の方向性

graphile-migrate の migrate コマンドの CLI エントリポイントから始め、設定が基盤となる pg-pool の接続オプションにどのように到達するかを追跡します。環境変数 GRAPHILE_SSL_CA_CERT と設定例 pgopts.ssl.ca をどのように扱えるかを確認し、その後、追加の CA 証明書を必要とするデータベースに対して、実装後の動作を検証します。

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
TypeScript
スター
836
フォーク
71
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

graphile/migrate のほかの issue

graphile/migrate の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。