diff --git a/operations/template/app.tf b/operations/template/app.tf index 3472b133..e49fa0ed 100644 --- a/operations/template/app.tf +++ b/operations/template/app.tf @@ -128,7 +128,7 @@ resource "azurerm_linux_web_app" "sftp" { AZURE_STORAGE_CONNECTION_STRING = azurerm_storage_account.storage.primary_blob_connection_string REPORT_STREAM_URL_PREFIX = "https://${local.rs_domain_prefix}prime.cdc.gov" AZURE_KEY_VAULT_URI = azurerm_key_vault.key_storage.vault_uri - CA_PHL_CLIENT_NAME = "flexion.simulated-lab" + CA_PHL_CLIENT_NAME = "ca-phl.etor-nbs-results" QUEUE_MAX_DELIVERY_ATTEMPTS = azurerm_eventgrid_system_topic_event_subscription.topic_sub.retry_policy.0.max_delivery_attempts # making the Azure container <-> queue retry count be in sync with the queue <-> application retry count.. } diff --git a/src/senders/report_stream_sender.go b/src/senders/report_stream_sender.go index 6b041109..d0cdab7c 100644 --- a/src/senders/report_stream_sender.go +++ b/src/senders/report_stream_sender.go @@ -77,7 +77,7 @@ func (sender Sender) getToken() (string, error) { } data := url.Values{ - "scope": {"flexion.*.report"}, + "scope": {"ca-phl.*.report"}, "grant_type": {"client_credentials"}, "client_assertion_type": {"urn:ietf:params:oauth:client-assertion-type:jwt-bearer"}, "client_assertion": {senderJwt},