-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move secrets from schema to separate module (#132)
Instead of declaring secrets in `get_schema`, the new interface is to load the `secret.star` module and call `secret.decrypt()`: ```starlark load("secret.star", "secret") API_KEY = secret.decrypt("<encrypted string goes here>") ``` This allows secrets to be used anywhere in an app, including in the `get_schema` function itself.
- Loading branch information
1 parent
7fb96e5
commit 6009c28
Showing
6 changed files
with
173 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.