Configure Virtual Private Cloud
Set up Python SDK to use Virtual Private Cloud.
Read time 1 minuteLast updated 2 hours ago
Configuration parameters
To configure the Python SDK to use Virtual Private Cloud, you need to provide three parameters:- The Fully Qualified Domain Name to your Virtual Private Cloud (example: )
your-private-cloud-fqdn.com
- The path prefix to append to the Fully Qualified Domain Name to create the Virtual Private Cloud base URL (example: )
/backend
- The full URL to your Virtual Private Cloud OpenID Connect (OIDC) configuration file (example: )
https://your-private-cloud-fqdn.com/auth/realms/unity/.well-known/openid-configuration
Configure from code
Use the following method before calling initialize:integration_creation = unity_cloud.set_private_cloud(fully_qualified_domain_name="my-fqdn", openid_config_url="my-oidc-config-url", path_prefix="my-path-prefix")
Configure with environment variables
Ensure the appropriate environment variables are set before running your python script:UNITY_CLOUD_SERVICES_FQDN
UNITY_CLOUD_SERVICES_FQDN_PATH_PREFIX
UNITY_CLOUD_SERVICES_OPENID_CONFIGURATION_URL