File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -402,7 +402,16 @@ impl MultiWalletOpts {
402
402
Ok ( None )
403
403
}
404
404
405
- // TODO: Support multiple keys
405
+ /// Returns a list of GCP signers if the GCP flag is set.
406
+ ///
407
+ /// The GCP signers are created from the following environment variables:
408
+ /// - GCP_PROJECT_ID: The GCP project ID. e.g. `my-project-123456`.
409
+ /// - GCP_LOCATION: The GCP location. e.g. `us-central1`.
410
+ /// - GCP_KEY_RING: The GCP key ring name. e.g. `my-key-ring`.
411
+ /// - GCP_KEY_NAME: The GCP key name. e.g. `my-key`.
412
+ /// - GCP_KEY_VERSION: The GCP key version. e.g. `1`.
413
+ ///
414
+ /// For more information on GCP KMS, see the [official documentation](https://cloud.google.com/kms/docs).
406
415
pub async fn gcp_signers ( & self ) -> Result < Option < Vec < WalletSigner > > > {
407
416
#[ cfg( feature = "gcp-kms" ) ]
408
417
if self . gcp {
You can’t perform that action at this time.
0 commit comments