sacloud / libsacloud

[Deprecated] Library for SAKURA Cloud API with Go
Apache License 2.0
18 stars 13 forks source link

helper/service: Managed PKI #803

Closed yamamoto-febc closed 2 years ago

yamamoto-febc commented 2 years ago

802 の後続PR

マネージドPKI向けのhelper/serviceを追加する

Note1: 発行済みの証明書を削除する仕組みはないため、Service.Updateでのクライアント証明書/サーバ証明書の指定と戻り値が一致しないケースがある。

例: Updateでクライアント証明書としてAとBの2つを指定しても一度Cという証明書を発行していた場合は[A,B,C]の3つが返る

Note2: Readがsacloud.xxAPIのラッパーではなくservice側で定義したラッパー型を返す。 これはCAの詳細 + クライアント証明書の詳細 + サーバ証明書の詳細を含むもの。