I asked this question already in one of the topics, but I still can not solve the problem. I need to connect Integration with pureCloudOAuthClient, but without hard coding the clientId and clientSecret. I will leave a piece of my code here and ask for help, it would be greate if some of you could help me;)
You can also do this by setting the following environment variables:
GENESYSCLOUD_OAUTHCLIENT_ID=MYCLIENTID
GENESYSCLOUD_OAUTHCLIENT_SECRET=MYCLIENTSECRET
GENESYSCLOUD_REGION=YOUR REGION
With these environment variables set, you do not need to set oauthclient_id, oauthclient_secret, aws_region. You can find configuration information about the provider here.
Thanks,
John Carnell
Director, Developer Engagement
@Syxtus_Gaal@John_Carnell, thank you so much for your answers. How I understood it is helpful with the oauth client that is already created and I am working with that, but is it also be working with the client that is only in process of creation and I am not working from it? So I need to in one-time terraform plan, apply create client and integration and take credentials from that client that is creating.