fourkeys
fourkeys copied to clipboard
Use param=value while accessing secret version
I was getting the following error while executing the event_hander on local
Invalid constructor input for AccessSecretVersionRequest: 'projects/1234567890/secrets/event-handler/versions/latest'
after reading the google api docs for accessing secret manager, i found that instead of passing the name
param directly we should pass it like name=value name=name
.
after this change i don't get the error.