Category "environment-variables"

Retrieving RSA key from AWS Secrets Manager in CodeBuild corrupts key "invalid format"

During a CodeBuild run I am retrieving a rsa key from SecretsManager, which is the private key to use to access private sources in BitBucket. To do this I have

CMake set environment variable

According to the CMake documentation https://cmake.org/cmake/help/v3.3/command/set.html One can do set(ENV{<variable>} <value>) but this gives the

PHP DOTENV unable to load env vars

I'm using php dotenv for env vars for my php application. The readme says I can load php dotenv into my application with: $dotenv = new Dotenv\Dotenv(__DIR__

Using environment variables in gradle.properties file

I'm trying to set "org.gradle.java.home" property in gradle.properties file to run my Gradle project on Java 8 while the rest of my system uses Java 7. Hence, J

bitbake SRC_URI file://

If I have a tarball, helloworld.tar.gz in a local directory, say /home/user/tarballs/, how can I make my bitbake recipe fetch from that directory? my helloworl

Rails 5 reads environment variables as string in YAML file

I have a Rails 5 app and I am trying to import my Environment Variables in a yaml file, which I can then import in the environment.rb. My config/aws.yml looks a

How to set environment variables in PyCharm?

I have started to work on a Django project, and I would like to set some environment variables without setting them manually or having a bash file to source. I

How do I setup the dotenv file in Node.js?

I am trying to use the dotenv NPM package and it is not working for me. I have a file config/config.js with the following content: 'use strict'; var dotenv

Node.js: How to change log level without restarting the server?

In the Node.js application, I use Winston for logging. Right now, the winston.level is set from process.env.LOG_LEVEL variable. How to reset the winston.level

How to set ASPNETCORE_ENVIRONMENT to be considered for publishing an ASP.NET Core application

When I publish my ASP.NET Core web application to my local file system, it always takes the production-config and the ASPNETCORE_ENVIRONMENT variable with the v

Override App.config value with an environment variable

I have a C# console program that prints an App.config value. Can I override this value from an environment variable? Example App.config: <appSettings>

Why is my env variable undefined when deployed to AWS?

I have a vue app I'm currently working on. I set the environmental variables in a file I named "config.ts" which contain codes similar to the code below: export

Environment Variables in Arduino IDE?

How to create and access the environment variables in Arduino IDE? In my case, I want to connect the AWS IoT MQTT endpoint but am worried to save the certificat

Jenkins Slave - How to add or update ENVIRONMENT variables

Has anyone tried a way to add or update an ENVIRONMENT variable in a Jenkins slave's configuration using Jenkins Rest/API or any other way. Using Jenkins Swarm

Test process.env with Jest

I have an application that depends on environmental variables like: const APP_PORT = process.env.APP_PORT || 8080; And I would like to test that for example: A

How do I convert the google private key for the google calendar api into a env file?

I'm trying to use JWT to access the google calendar api. I'm using Node to make my call. How can I get this line of JSON into my .env file: "private_key": "--

Exporting environment variables from one stage to the next in GitLab CI

Is there a way to export environment variables from one stage to the next in GitLab CI? I'm looking for something similar to the job artifacts feature, only for

How to set custom environment variables in tomcat?

I have few key- value pair variables in my program which is hard coded now. String pswd = StringUtils.defaultString(System.getProperty("KEY_STORE_PASSWORD"), "

Cloud Build env variables not passed to Django app on GAE

I have a Django app running on Google AppEngine Standard environment. I've set up a cloud build trigger from my master branch in Github to run the following ste

environment variable not working in react firebase config file

I am making a react app with firebase and I want to use environment variables for the firebase config. this is the firebase config in my react apps src folder i