pior / appsecrets

Python 3.6+ library to manage your application secrets with Google Cloud KMS
https://pypi.org/project/appsecrets/
MIT License
1 stars 0 forks source link

Improve error message when missing KMS permission #1

Closed pior closed 6 years ago

pior commented 6 years ago
googleapiclient.errors.HttpError: <HttpError 403 when requesting https://cloudkms.googleapis.com/v1/projects/....:decrypt?alt=json returned "Google Cloud Key Management Service (KMS) API has not been used in project ... before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/cloudkms.googleapis.com/overview?project=.... then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.">
pior commented 6 years ago

Fixed