NavigationContentFooter
Jump toSuggest an edit

My secrets and variables are not injected properly in my function

Reviewed on 06 November 2024Published on 06 November 2024

Problem

My environment variable or secret is not properly injected in my function during its execution.

Cause

Environment variables or secrets that are too large, contain carriage returns and spread over several lines, as shown below, will not be injected properly.

"hello
world
.
"

Solution

To avoid issues while injecting environment variables and secrets, we recommend encoding them to base64.

Was this page helpful?
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2024 – Scaleway