@ibm-cloud/watsonx-ai
Version:
IBM watsonx.ai Node.js SDK
31 lines • 1.76 kB
JavaScript
/**
* (C) Copyright IBM Corp. 2025-2026.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
export const AWS_PROD_TOKEN_URL = 'https://account-iam.platform.saas.ibm.com';
export const AWS_TEST_TOKEN_URL = 'https://account-iam.platform.test.saas.ibm.com';
export const GOVCLOUD_PREPROD_TOKEN_URL = 'https://account-iam.awsg.usge1.private.platform.prep.ibmforusgov.com';
export const GOVCLOUD_PROD_TOKEN_URL = 'https://account-iam.awsg.usge1.private.platform.ibmforusgov.com';
export const AUTH_AWS_URLS = {
'https://ap-south-1.aws.wxai.ibm.com': AWS_PROD_TOKEN_URL,
'https://us-east-1.aws.wxai.ibm.com': AWS_PROD_TOKEN_URL,
'https://private.ap-south-1.aws.wxai.ibm.com': AWS_PROD_TOKEN_URL,
'https://private.dev.aws.wxai.ibm.com': AWS_TEST_TOKEN_URL,
'https://private.test.aws.wxai.ibm.com': AWS_TEST_TOKEN_URL,
'https://test.aws.wxai.ibm.com': AWS_TEST_TOKEN_URL,
'https://dev.aws.wxai.ibm.com': AWS_TEST_TOKEN_URL,
'https://wxai.prep.ibmforusgov.com': GOVCLOUD_PREPROD_TOKEN_URL,
'https://private.wxai.prep.ibmforusgov.com': GOVCLOUD_PREPROD_TOKEN_URL,
'https://wxai.ibmforusgov.com': GOVCLOUD_PROD_TOKEN_URL,
'https://private.wxai.ibmforusgov.com': GOVCLOUD_PROD_TOKEN_URL,
};
//# sourceMappingURL=urls.mjs.map