Enviroment variables do not respect shell expansion

I am trying to store an environment variable with newline characters…

gp env BOB="This is a test
line 2
line 3

It ends up like “This is a test line 2 line 3”

Any ideas?

Hello @rsliotta and thanks for your request.

Unfortunately, we don’t support multi-line env vars like this. Depending on your use case you could probably store a base64 encoded string and decode it before usage?