Mariano Cano
163eb7029c
Refactor cloudkms signer to return an error on the constructor.
2021-02-19 15:36:55 -08:00
Mariano Cano
a947779795
Add uri support initializing cloudkms.
2021-02-16 13:11:47 -08:00
Mariano Cano
d30a95236d
Use always go.step.sm/crypto
2020-08-14 15:33:50 -07:00
Mariano Cano
1138cc4207
Retry CloudKMS GetPublicKey.
...
On HSM keys are not generated instantly and the GetPublicKey fails
with a FailedPrecondition error. This change will retry GetPublicKey
if this happens.
2020-02-21 12:36:29 -08:00
Mariano Cano
cff346e7fd
Skip test on travis, it won't fail because they have access to the KMS.
2020-02-13 15:49:16 -08:00
Mariano Cano
fa8116497c
Make Signer public and add contructor NewCloudKMS.
2020-01-21 19:09:21 -08:00
Mariano Cano
5d5ee68d88
Make GCP client public to facilitate extensibility.
2020-01-21 12:50:21 -08:00
Mariano Cano
dff498f17f
Add tests for cloudkms.
2020-01-15 19:32:26 -08:00