RajeshHegde/gcredstash

[FR] Permit different KMS/Datastore Projects

davidebelloni opened this issue · 1 comments

Hi,
it would be nice if it was possible to use a CryptoKey in project A and maintain secrets on Datastore in project B.

Hi @davidebelloni
KeyStore takes project_id as a parameter and GoogleKMS also takes project_id as a parameter, if you want to use different project for Datastore and KMS then you can pass those to KeyStore and GoogleKMS. Let me know if that solves your problem. But this wouldn't work in command-line.