https://authzed.com logo
#spicedb
Title
# spicedb
j

joombaga

03/10/2022, 6:25 PM
I considered that. The single quotes should cover all of those characters (in my shell, bash 5). But I did try base64 encoding the key and decoding it with the shell in my spiced and zed invocations, e.g.
Copy code
SPICEDB_GRPC_PRESHARED_KEY="$(<<<"OW81Tm5rOTNPOEFtJGlzSCVHI0ZhdjYkN2chY2RuUCVXMFNARSFzMlE3blUkNmhyRFZJUjRTczRPdFRzbmh1ZQ==" base64 --decode)" SPICEDB_GRPC_NO_TLS=true SPICEDB_HTTP_NO_TLS=true spicedb serve

zed schema read --endpoint localhost:50051 --insecure --token "$(<<<"OW81Tm5rOTNPOEFtJGlzSCVHI0ZhdjYkN2chY2RuUCVXMFNARSFzMlE3blUkNmhyRFZJUjRTczRPdFRzbmh1ZQ==" base64 --decode)"