Skip to content

Commit

Permalink
Use array of scopes for downstream API config
Browse files Browse the repository at this point in the history
  • Loading branch information
aeshub committed Sep 27, 2023
1 parent db51b3b commit 6c39fab
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
4 changes: 3 additions & 1 deletion backend/api/appsettings.Development.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"VaultUri": "https://flotilladevkv.vault.azure.net/"
},
"Isar": {
"Scopes": "fd384acd-5c1b-4c44-a1ac-d41d720ed0fe/.default"
"Scopes": [
"fd384acd-5c1b-4c44-a1ac-d41d720ed0fe/.default"
]
},
"Maps": {
"StorageAccount": "flotillamaps"
Expand Down
4 changes: 3 additions & 1 deletion backend/api/appsettings.Production.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"VaultUri": "https://flotillaprodkv.vault.azure.net/"
},
"Isar": {
"Scopes": "e08edece-ba2d-4fe1-8cd1-ee7b05ba7155/.default"
"Scopes": [
"e08edece-ba2d-4fe1-8cd1-ee7b05ba7155/.default"
]
},
"Maps": {
"StorageAccount": "flotillamaps"
Expand Down
4 changes: 3 additions & 1 deletion backend/api/appsettings.Staging.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"VaultUri": "https://flotillastagingkv.vault.azure.net/"
},
"Isar": {
"Scopes": "9cd787ea-8ce2-4d18-8bc8-279e7a8e6289/.default"
"Scopes": [
"9cd787ea-8ce2-4d18-8bc8-279e7a8e6289/.default"
]
},
"Maps": {
"StorageAccount": "flotillamaps"
Expand Down
8 changes: 6 additions & 2 deletions backend/api/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@
},
"Echo": {
"BaseUrl": "https://echohubapi.equinor.com/api",
"Scopes": "bf0b2569-e09c-42f0-8095-5a52a873eb7b/.default"
"Scopes": [
"bf0b2569-e09c-42f0-8095-5a52a873eb7b/.default"
]
},
"Stid": {
"BaseUrl": "https://stidapi.equinor.com/",
"Scopes": "1734406c-3449-4192-a50d-7c3a63d3f57d/.default"
"Scopes": [
"1734406c-3449-4192-a50d-7c3a63d3f57d/.default"
]
},
"IsarConnectionTimeout": 10,
"Logging": {
Expand Down

0 comments on commit 6c39fab

Please sign in to comment.