Bobcares

3 Ways to Create API key in Plesk

PDF Header PDF Footer

Read the article to know the steps to create API key in Plesk. At Bobcares, with our Plesk Hosting Support, we can handle your issues.

Steps to Create API Key in Plesk

Plesk uses secret keys for API login. Here’s how to create a secret key for Plesk.

Using CLI

1. Initially, SSH access to the Plesk server.

2. On CLI, type the following command:

plesk create api key

This command shows the newly created API Key.

Using Plesk XML API

1. Create an XML file called api.rpc with the following text, substituting with the Plesk account and with the correct IP restriction.

plesk create api key

2. Now, send the request using cURL command:

plesk create api key

Replace with a valid Plesk admin password or another existing secret key.

Using the Secret Key

Once we have the secret key, we can use it to verify the API requests instead of the Plesk username and password. The particular technique to use it depends on by the API with which we are dealing.

The secret key typically appears in the request header, under a key called “X-API-Key”. The correct authentication mechanism should vary for the API we are using.

[Want to learn more? Click here to reach us.]

Conclusion

This article offers some of the simple ways from our Support Team in which we can create API key in Plesk.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Get featured on the Bobcares blog and share your expertise with a global tech audience.

WRITE FOR US

GET UP TO 25% OFF

Plesk Support

Spend time on your business, not on your servers.

Managing a server is time consuming. Whether you are an expert or a newbie, that is time you could use to focus on your product or service. Leave your server management & end-user tech support to us, and use that time to focus on the growth and success of your business.

TALK TO USOr click here to learn more.

Speed issues driving customers away?
We’ve got your back!