From 6c39fab308d9a50f1ee86d00c309caaa9152d6c1 Mon Sep 17 00:00:00 2001 From: aestene Date: Wed, 27 Sep 2023 12:52:01 +0200 Subject: [PATCH] Use array of scopes for downstream API config --- backend/api/appsettings.Development.json | 4 +++- backend/api/appsettings.Production.json | 4 +++- backend/api/appsettings.Staging.json | 4 +++- backend/api/appsettings.json | 8 ++++++-- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/backend/api/appsettings.Development.json b/backend/api/appsettings.Development.json index 683afd271..aa6d545bf 100644 --- a/backend/api/appsettings.Development.json +++ b/backend/api/appsettings.Development.json @@ -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" diff --git a/backend/api/appsettings.Production.json b/backend/api/appsettings.Production.json index b87c946a9..95abbc915 100644 --- a/backend/api/appsettings.Production.json +++ b/backend/api/appsettings.Production.json @@ -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" diff --git a/backend/api/appsettings.Staging.json b/backend/api/appsettings.Staging.json index 29b894324..71775583b 100644 --- a/backend/api/appsettings.Staging.json +++ b/backend/api/appsettings.Staging.json @@ -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" diff --git a/backend/api/appsettings.json b/backend/api/appsettings.json index 012066214..93e1d96ea 100644 --- a/backend/api/appsettings.json +++ b/backend/api/appsettings.json @@ -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": {