You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, evar values with newline characters seem to be rejected by the nanobox CLI, and the Dashboard replaces newlines with whitespace (flattening multi-line text to one long line)
Please can evar values be made to support arbitrary strings?– an example use of non-single-line evars being PEM-encoded encryption certificates
Thanks!
The text was updated successfully, but these errors were encountered:
Currently, a workaround for this would be to load the evar from a file (new functionality), you can read more about the supported file formats here. Other than the ways we discussed on slack, i'm not sure it can be supported via the add command.
Working methods (iirc):
nanobox evar add local KEY1="-----BEGIN RSA PRIVATE KEY-----\nM\nW\nA\na\n5\nZ\nA\n5\nJ\nU\nC\na\nr\nR\nD\nS\nY\nb\n0\nK\n4\nM\nM\n1\nD\n-----END RSA PRIVATE KEY-----"
nanobox evar add local KEY2="-----BEGIN RSA PRIVATE KEY-----
M
W
A
a
5
Z
A
5
J
U
C
a
r
R
D
S
Y
b
0
K
4
M
M
1
D
-----END RSA PRIVATE KEY-----
"
Don't allow keyless evars. Resolves#544
Discontinue lodaing file contents as value on `evar add`. Resolves#545
Support for arbitrary strings as environment variable values. Resolves#541
- We no longer split on commas, thus supporting all (bash/etc.. valid) values
At the moment, evar values with newline characters seem to be rejected by the nanobox CLI, and the Dashboard replaces newlines with whitespace (flattening multi-line text to one long line)
Please can evar values be made to support arbitrary strings?– an example use of non-single-line evars being PEM-encoded encryption certificates
Thanks!
The text was updated successfully, but these errors were encountered: