gonanrdg
09/29/2023, 2:09 PMinvalid preshared key: rpc error: code = Unauthenticated desc = Request unauthenticated with bearer
. Also, how would be the equivalent if I have it running in a kubernetes cluster? How should I send the credentials in both cases? Thanks!vroldanbet
09/29/2023, 2:13 PMgrpcurl
example:
grpcurl -vv -H "Authorization: bearer my_token" -d '{"relationship_filter":{"resource_type": "resource"}, "optional_limit": "250", "optional_allow_partial_deletions": "true"}' --plaintext localhost:50051 authzed.api.v1.PermissionsService.DeleteRelationships
the credentials would be the same if sent to a SpiceDB running in a kube environment, you just need to make sure to use --plaintext
if you haven't enabled TLSgonanrdg
09/29/2023, 2:15 PMgonanrdg
09/29/2023, 2:20 PMvroldanbet
09/29/2023, 3:07 PM