-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: load skate variables via 1password (#2525)
- Loading branch information
Showing
4 changed files
with
74 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# MBTA Skate Secret Environment Variables | ||
_1P_VAULT="ptdh43ymoxcqcstjeinoev73yi" | ||
|
||
## Data URL's | ||
GTFS_URL="op://$_1P_VAULT/Skate Data URLs/GTFS_URL" | ||
BUSLOC_URL="op://$_1P_VAULT/Skate Data URLs/BUSLOC_URL" | ||
TRIP_UPDATES_URL="op://$_1P_VAULT/Skate Data URLs/TRIP_UPDATES_URL" | ||
SKATE_HASTUS_URL="op://$_1P_VAULT/Skate Data URLs/SKATE_HASTUS_URL" | ||
|
||
## Swiftly API | ||
SWIFTLY_REALTIME_VEHICLES_URL="op://$_1P_VAULT/Swiftly API/hostname" | ||
SWIFTLY_AUTHORIZATION_KEY="op://$_1P_VAULT/Swiftly API/credential" | ||
|
||
## Map Tileset URL's | ||
BASE_TILESET_URL="op://$_1P_VAULT/Skate Map Tileset URLs/BASE_TILESET_URL" | ||
SATELLITE_TILESET_URL="op://$_1P_VAULT/Skate Map Tileset URLs/SATELLITE_TILESET_URL" | ||
|
||
## AWS | ||
AWS_PLACE_INDEX="op://$_1P_VAULT/Skate AWS Resources/AWS_PLACE_INDEX" | ||
|
||
## Chromatic | ||
CHROMATIC_PROJECT_TOKEN="op://$_1P_VAULT/Chromatic Project Token/credential" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
# Load user's local settings | ||
source_env_if_exists .envrc.private | ||
|
||
# Load Skate secrets from 1Password | ||
# https://github.com/tmatilai/direnv-1password/blob/14bbebceb40480ee5042879290e6d67e771753dc/1password.sh#L82 | ||
direnv_load op run --env-file=.env.1p.skate -- direnv dump |
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