nuxt-community / dotenv-module

Loads your .env file into your application context
MIT License
495 stars 30 forks source link

Cannot add private key #14

Closed tamacroft closed 6 years ago

tamacroft commented 6 years ago

i have try : private_key="-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAAS....." or private_key:-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAAS... or private_key:'-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAAS....'

but result is Certificate object must contain a string "private_key" property.

This question is available on Nuxt.js community (#c6)
JulienTant commented 6 years ago

I'm not sure how I can help you ?

That module is using this package to load variables from .env file : https://github.com/motdotla/dotenv. You should probably get help there !

Please reopen if I have misunderstood your problem