You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apictl shows the old token endpoint which is 8243/token and this should be corrected as 9443/oauth2/token.
apictl add envs
Add new environment and its related endpoints to the config file
Usage:
apictl add [command]
Examples:
apictl add env production \
--apim https://localhost:9443
apictl add env dev \
--mi https://localhost:9164
apictl add env prod \
--apim https://apim.com:9443 \
--mi https://localhost:9164
apictl add env test \
--registration https://idp.com:9443 \
--publisher https://apim.com:9443 \
--devportal https://apps.com:9443 \
--admin https://apim.com:9443 \
--token https://gw.com:8243/token \
--mi https://localhost:9164
apictl add env dev \
--apim https://apim.com:9443 \
--registration https://idp.com:9443 \
--token https://gw.com:8243/token
NOTE: The flag --environment (-e) is mandatory.
You can either provide only the flag --apim , or all the other 4 flags (--registration --publisher --devportal --admin) without providing --apim flag.
If you are omitting any of --registration --publisher --devportal --admin flags, you need to specify --apim flag with the API Manager endpoint. In both of the
cases --token flag is optional and use it to specify the gateway token endpoint. This will be used for "apictl get-keys" operation.
To add a micro integrator instance to an environment you can use the --mi flag.
Available Commands:
env Add Environment to Config file
Flags:
-h, --help help for add
Global Flags:
-k, --insecure Allow connections to SSL endpoints without certs
--verbose Enable verbose mode
Use "apictl add [command] --help" for more information about a command.
Solution
Update the helper texts and other relevant places.
Affected Component
APICTL
Version
4.2.0
Implementation
No response
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered:
Problem
Apictl shows the old token endpoint which is 8243/token and this should be corrected as 9443/oauth2/token.
Solution
Update the helper texts and other relevant places.
Affected Component
APICTL
Version
4.2.0
Implementation
No response
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered: