menu

ZEIT

Our mission is to make cloud computing as easy and accessible as mobile computing. You can find our Next.js community here.

Channels
Team

Increase the Now environment variables size from 4kb max

February 1, 2020 at 1:39am
The ZEIT community has a new home. This thread is preserved for historical purposes. The content of this conversation may be innaccurrate or out of date. Go to new community home →

Increase the Now environment variables size from 4kb max

February 1, 2020 at 1:39am
I currently have 12 secrets, including some private keys that are pretty long. I've apparently exceeded the 4kb limit and can no longer deploy.
Is there any way to increase the 4kb limit?
Related:

The limit on env variables is too strict (or an alternative way for file secrets like Google's key.json)

thumbsup
9
message-simple
31

February 1, 2020 at 1:41am
There is no way. We are since last year discussing possible solutions... We want to make sure your secrets are really secrets and therefore we will not move from the upstream provider limitation very soon.
  • reply
  • like
Check https://zeit.co/pgdm/encrypted-data/mucp1kd62/source as an example of alternative
  • reply
  • like
It's 4kb total for all of your env variables, correct?
How much does that solution decrease the size? I'm trying to prevent this from happening again when I need some other secrets in a week or a month.
Edit: Ah, okay I think I see it. The env variable is only the key, so it's really small. How do you do the actual encrypting of the data.xml file? I see that command in the README encrypt-data.js but I don't know where that comes from.
Edited
  • reply
  • like

February 1, 2020 at 9:23pm
Hey , I don't monitor Spectrum, so sorry for missing your message. Please email [email protected] so we can discuss this together.
like-fill
1
  • reply
  • like

February 6, 2020 at 12:44am
Thanks to , I got this working!
  • reply
  • like
private
This channel has been archived