Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove export and quotes from generated .okta.env #307

Closed
mraible opened this issue Mar 26, 2022 · 1 comment
Closed

Remove export and quotes from generated .okta.env #307

mraible opened this issue Mar 26, 2022 · 1 comment

Comments

@mraible
Copy link
Contributor

mraible commented Mar 26, 2022

Today I realized that there's really no reason for .okta.env to have export or use quotes around values. If we remove export and the quotes from the values, running source .okta.env will still set the environment variables.

I'm not sure if this will work on Windows. However, if it does, I think we should switch to it and update old blog posts. With the CLI include, it should be easy.

One of the nice things about moving to a syntax recognized by dotenv is you can copy/paste into your IDE for environment variables and you can also rename it to .env and it'll set the variables for Docker Compose.

@mraible
Copy link
Contributor Author

mraible commented Apr 7, 2022

I tested this on Windows today. Using FOO=bar doesn't work on Windows like it does on macOS and Linux. 😕

Screen Shot 2022-04-07 at 11 01 54

@mraible mraible closed this as completed Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant