https://github.com/ibm-cloud-security/appid-postman
IBM Cloud App ID Postman Collection
https://github.com/ibm-cloud-security/appid-postman
Last synced: over 1 year ago
JSON representation
IBM Cloud App ID Postman Collection
- Host: GitHub
- URL: https://github.com/ibm-cloud-security/appid-postman
- Owner: ibm-cloud-security
- License: apache-2.0
- Created: 2019-01-09T18:30:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-26T15:42:52.000Z (almost 2 years ago)
- Last Synced: 2025-01-11T01:12:16.366Z (over 1 year ago)
- Homepage: https://cloud.ibm.com/catalog/services/app-id
- Size: 34.2 KB
- Stars: 11
- Watchers: 14
- Forks: 16
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IBM Cloud App ID Postman Collection
This repo contains a Postman collection and environment configuration for invoking REST API of the IBM Coud App ID service.
## Set-up
1. Clone the repo
2. Update `appid-production-us-south.postman_environment.json` with the following values:
* IBMCLOUD_API_KEY - In order to consume App ID management API you'll need to have IBM Cloud IAM API key. The key can be obtained from either
* Creating service credentials in the App ID Dashboard. You will see `apikey` as one of the attributes of the generated credentials JSON object.
* Cloud IAM UI (https://cloud.ibm.com/iam#/serviceids). Create Service ID, assign ADMIN access policy to your App ID instance, generate API key.
* IBM Cloud CLI (see the `ibmcloud iam api-key-create` command).
* IBMCLOUD_IAM_SERVER_HOST - Preset to https://iam.cloud.ibm.com. There's no reason for you to change this.
* APPID_AUTH_SERVER_HOST - Preset to https://us-south.appid.cloud.ibm.com. You might need to change the region. Supported regions are `us-south`, `us-east`, `eu-gb`, `eu-de`, `au-syd`, `jp-tok`.
* APPID_PROFILES_SERVER_HOST - Preset to https://us-south.appid.cloud.ibm.com. You might need to change the region. Supported regions are `us-south`, `us-east`, `eu-gb`, `eu-de`, `au-syd`, `jp-tok`.
* APPID_MANAGEMENT_SERVER_HOST - Preset to https://us-south.appid.cloud.ibm.com. You might need to change the region. Supported regions are `us-south`, `us-east`, `eu-gb`, `eu-de`, `au-syd`, `jp-tok`.
* APPID_TENANT_ID - The tenant ID, also known as instance ID, of your App ID instance. Use existing, or Create a new Application in the App ID dashboard to see your tenant ID.
* APPID_CLIENT_ID - The client ID of your Application. Use existing, or Create a new Application in the App ID dashboard to see your client ID.
* APPID_SECRET - The secret of your Application. Use existing, or Create a new Application in the App ID dashboard to see your secret.
3. Open Postman and import `appid-production-us-south.postman_environment.json` and `app-id.postman_colletion.json`.
4. Make sure `appid-production-us-south` environment is selected
## Usage
Use the APIs according to your scenarios. Note that many values are taken from the environment to simplify API invocation workflows. E.g. once you make the `App ID -> Cloud IAM -> Get Cloud IAM Token` request, the retrieved token will be saved in the envornment and used for all subsequent requests to management API automatically. Same goes for many other workflows. You can see the `Test` section of relevant requests to see the logic.
Happy App IDing!