Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Allow setting JWT env var #167

Merged
merged 5 commits into from
Dec 5, 2023
Merged

Conversation

ollytheninja
Copy link
Contributor

Currently you can't set up two Sym providers in one terraform project because the JWT is expected to be in a specific environment variable.

This change adds a jwt_env_var allowing different provider instances to use different JWTs within the same terraform project.

My Go isn't the best so apologies if the code style isn't quite right or I've missed something.

@ollytheninja ollytheninja requested a review from a team November 28, 2023 08:55
Copy link
Contributor

@llam15 llam15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay! Thank you for the contribution! This is excellent, I've been wanting to add some sort of customizable authentication to the provider.

Overall, it looks good, just a couple thoughts about wording and terminology. With those changes and passing checks, we should be good to go, I think. Thank you again!

docs/index.md Outdated Show resolved Hide resolved
sym/provider/provider.go Outdated Show resolved Hide resolved
ollytheninja and others added 2 commits December 5, 2023 14:38
Co-authored-by: Leslie Lam <leslie@llam.dev>
Co-authored-by: Leslie Lam <leslie@llam.dev>
@ollytheninja
Copy link
Contributor Author

Thanks @llam15, not sure why I didn't see the notification!
Those changes have been applied 🙂

@llam15 llam15 merged commit 0ea90fe into symopsio:main Dec 5, 2023
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants