Importing your environment variables
Start importing your environment variables into Keyshade
Once your project is set up, the next step is to move your environment variables from .env file to Keyshade. There are two ways to do this:
Manually creating them one by one
Importing the entire
.envfile
We would be sticking with the second option as it is the most convenient way to import your environment variables.
Import using CLI
Head over to your project directory
Run the following command:
keyshade importSpecify the path of the
.envfileSelect your default workspace (eg. My Workspace)
Select the project we created in the previous step
Select the environment you want to import the environment variables to (eg. Development)
Confirm the secret and variable classification
Confirm the import
Import using the app
Head into the project
Click on Import
Select the
.envfileSelect the environment you want to import the environment variables to (eg. Development)
Confirm the secret and variable classification
Confirm the import
Now, you have your environment variables imported into Keyshade.
Last updated
Was this helpful?