---
# This file contains configurations for individual UAA clients for tenants in different deployments.
#
# To add a new client, add a new entry to the deployment in question like the below
#
#  - name: uaa-client-name
#    secret_name: secrets_uaa_clients_uaa_client_name
#    uaa_client:
#      scope: openid,cloud_controller.read,cloud_controller.write
#      authorized-grant-types: refresh_token,authorization_code
#      redirect-uri: https://APP_NAME.((app_domain))/callback/URL
#      override: true
#
# If the tenant is deploying the app on a custom URL, provide an array for the `uaa_client.redirect-uri` property, e.g.
#
#   redirect-uri:
#     - https://APP_NAME.((app_domain))/callback/URL
#     - https://CUSTOM_DOMA.in/callback/URL

stg-lon: []

prod: []

prod-lon:
  - name: dit-stratos-deployment
    secret_name: secrets_uaa_clients_dit_console_secret
    uaa_client:
      scope: openid,cloud_controller.read,cloud_controller.write
      authorized-grant-types: refresh_token,authorization_code
      redirect-uri: https://dit-console.((app_domain))/pp/v1/auth/sso_login_callback
      override: true

---
# This file contains configurations for individual UAA clients for tenants in different deployments.
#
# To add a new client, add a new entry to the deployment in question like the below
#
#  - name: uaa-client-name
#    secret_name: secrets_uaa_clients_uaa_client_name
#    uaa_client:
#      scope: openid,cloud_controller.read,cloud_controller.write
#      authorized-grant-types: refresh_token,authorization_code
#      redirect-uri: https://APP_NAME.((app_domain))/callback/URL
#      override: true
#
# If the tenant is deploying the app on a custom URL, provide an array for the `uaa_client.redirect-uri` property, e.g.
#
#   redirect-uri:
#     - https://APP_NAME.((app_domain))/callback/URL
#     - https://CUSTOM_DOMA.in/callback/URL

stg-lon: 
  - name: terraform-provider-test-account
    secret_name: secrets_uaa_clients_terraform_provider_test_account_secret
    uaa_client:
      scope: cloud_controller.admin,uaa.admin,scim.read,scim.write
      override: true

prod: []

prod-lon:
  - name: dit-stratos-deployment
    secret_name: secrets_uaa_clients_dit_console_secret
    uaa_client:
      scope: openid,cloud_controller.read,cloud_controller.write
      authorized-grant-types: refresh_token,authorization_code
      redirect-uri: https://dit-console.((app_domain))/pp/v1/auth/sso_login_callback
      override: true

Add terraform provider UAA client
Add terraform provider UAA client

In order to run the tests against terraform there is a need for a custom
UAA client. in order to not have any conflict with Prod this has been
placed in staging.
