Analytics REST call does not return API keys
search cancel

Analytics REST call does not return API keys

book

Article ID: 251358

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation

Issue/Introduction

I have used this REST API call

GET
​/apikeys
Returns a list of defined scoped API keys

but don't get the expected results. According to the Analytics REST API /apikeys documentation there are no parameters required.

I have already searched the internet for

automic analytics "IA-0002" "API key null is not valid"

but there's no result at all.

Environment

Release : 21.0.3

Component :

Resolution

The authorization key can be got from plugin.properties in C:\Automic\Automation.Platform\WebInterface\config\webui-plugin-analytics

######################
# Backend connection #
######################

# Use an HTTP connection by default. If the backend is configured to only accept HTTPS, remember to
# change the schema from http:// to https://.
backend.endpoint=http://server.example.com:8090

# If the backend is accepting HTTPS connections, the certificate will be verified by default. To be
# able to use self-signed certificates without adding them to the local Java certificate repository,
# you can uncomment the following line to disable the certificate verification.
# In this case the identity of the two endpoint will not be verified but you are still protected against
# eavesdropping because the encryption still works.
#backend.endpoint.verify_certificate=false

# API key used for all requests to the backend
backend.api_key=c1c0c1fc-ac00-41a4-a290-5a11901fb61b

# Define the timeout in seconds that is used for requests to the backend.
#backend.request_timeout.seconds=300

I used the Postman rest client chrome extension