forked from apigee/api-platform-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetenv.sh
executable file
·33 lines (30 loc) · 1.35 KB
/
setenv.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
## Update below section for your environment.
## Org is the name of the organization in which you have an account.
## Login to enterprise.apigee.com and check account settings.
## Credentials are the username and password that you use to login
## to enterprise.apigee.com
## Trial and cloud accounts have environments called 'test' and 'prod'.
## If you have a trial or cloud account, you do not need to
## modify the URL.
## You can obtain a free account at https://accounts.apigee.com/accounts/sign_up
## On-premise deployments may have other environments.
## --------------------------------------
## Cloud users: Leave the default values for $url and $api_domain.
## On-prem customers:
## - Change the $url to your Apigee management server.
## - Change $api_domain to the base domain for your own Apigee API calls.
## $api_domain gets used in conjunction with $org and $env to construct
## the base URL to your APIs: https://$org-$env.$api_domain/<api_resource>
org="Enter your Apigee Edge organization name"
username="Enter your Apigee Edge email address"
url="https://api.enterprise.apigee.com"
env="Enter the environment to deploy to (test or prod)"
api_domain="apigee.net"
## Do not change the settings below
## --------------------------------------
export org=$org
export username=$username
export env=$env
export url=$url
export api_domain=$api_domain