Calling OIC3 ret api
Dear Team,
We are trying to list all the integrations from our OIC3 instance. Fir this purpose:
- Created Confidential app in IAM domain
- Assigned Service Administrator and Service Invoker roles to this app.
- Generated the Access token
[root@proderp ~]# curl --location -H 'Authorization: Basic YzUzZGVkODM0MjY1NDI3YmFmOTExMW**mI1LWQzMGEtNGRkYi05OTYwLTU0NWMzYzE3MDNmYw==' -H 'Content-Type:application/x-www-form-urlencoded;charset=UTF-8' --request POST https://*******identity.oraclecloud.com:443/oauth2/v1/token -d 'grant_type=client_credentials&scope=https://.*******integration.ap-hyderabad-1.ocp.oraclecloud.com:443urn:opc:resource:consumer::all'
{"access_token":"eyJ4NXQjUzI1NiI6IjFwVjBGV3**********4NXQiOiJKaUh6ah8w_gWCg","token_type":"Bearer","expires_in":3600}[root@proderp ~]4
Tagged:
0