My guess was that the default user in the cloud trial was not quite ready for the REST API.
This might be a by-design restriction of the cloud trial version? Also, it is not possible in the GUI to create a new user. Might also be a trial restriction?
But, you can access the REST API UI. This is meant for testing the API and I was able to create a new user from there. With this user I can successfully access the REST API. Tricky
Hi Ron,
Apologies for the late reply. In the Checkmk Cloud (SaaS) edition you can only access the REST API via an automation user and its secret. Only automation users’ credentials are known to the site. Credentials of all “password based” users are only known to the AWS IdP (Cognito) and not to the site and hence cannot be used to authenticate REST API calls.
We have pre-configured an automation user called “api_user” that can be used to authenticate REST API calls. You can find it under Setup > Users > Users. Then edit it and specify a secret. Use the secret in the authentication header to authenticate your calls.