Title: WP REST API Key Authentication
Author: Kamal Hosen
Published: <strong>Ṣẹrẹ 16, 2025</strong>
Last modified: Ṣẹrẹ 16, 2025

---

Ṣàwárí àwọn plugin

![](https://ps.w.org/rest-api-key-authentication/assets/banner-772x250.png?rev=3223428)

![](https://ps.w.org/rest-api-key-authentication/assets/icon-128x128.png?rev=3223428)

# WP REST API Key Authentication

 Láti ọwọ́ [Kamal Hosen](https://profiles.wordpress.org/ikamal/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/rest-api-key-authentication.1.0.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/rest-api-key-authentication/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/rest-api-key-authentication/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/rest-api-key-authentication/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/rest-api-key-authentication/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/rest-api-key-authentication/)

## Àpèjúwe

**WP REST API Key Authentication** adds a simple API key-based authentication method
to the WordPress REST API. This plugin is perfect for developers who want to interact
with the REST API securely without relying on complex OAuth authentication mechanisms.

### Key Features:

 * **Multiple API Keys**: Create and manage multiple API keys with custom names.
 * **Secure API Key Storage**: API keys are hashed and securely stored in the WordPress
   database.
 * **Single Display for Security**: API keys are shown only once after creation.
 * **REST API Access Control**: Authenticate requests by including an API key in
   the `Authorization` header.
 * **Admin Interface**: Manage API keys with a user-friendly admin page.
 * **Copy to Clipboard Popup**: Easily copy generated API keys with a built-in popup.

The plugin is lightweight and integrates seamlessly with WordPress.

### Usage

 1. **Generate an API Key**:
 2.  * Go to **API Keys** in the WordPress admin menu.
     * Enter a name for the API key and click “Generate API Key”.
     * The API key will appear in a popup. Copy it immediately, as it will not be displayed
       again.
 3. **Use the API Key**:
 4.  * Include the API key in the `Authorization` header of your REST API requests:
       `
       Authorization: Bearer YOUR_API_KEY`
 5. **Delete API Keys**:
 6.  * To revoke access, delete an API key from the **API Keys** admin page.

### License

This plugin is licensed under the GPLv2 or later. See the License URI for details.

## Àwọn àwòrán ìbòjú

 * [[
 * **API Key Management Interface**
    Manage API keys with a simple interface, including
   options to create and delete keys.
 * [[
 * **Generated API Key Popup**
    Popup showing the API key after generation, with
   an option to copy it to the clipboard.
 * [[
 * **REST API Authorization Example**
    Example of how to use the API key in the `
   Authorization` header.

## Ìgbéwọlẹ̀

 1. Download the plugin ZIP file.
 2. Go to your WordPress admin dashboard and navigate to **Plugins > Add New**.
 3. Click on the **Upload Plugin** button and select the ZIP file.
 4. Click **Install Now** and then activate the plugin.
 5. Navigate to **API Keys** in the admin menu to start managing your API keys.

## FAQ

### How are API keys stored?

API keys are hashed using PHPÌtumọ̀ Yorùbá: ’s `password_hash` function and stored
securely in the WordPress database. The raw key is only shown once upon creation.

### What happens if I lose an API key?

If you lose an API key, you must generate a new one. The plugin does not store raw
API keys for security reasons.

### How do I authenticate a REST API request?

Include the API key in the `Authorization` header using the `Bearer` token format:
Authorization: Bearer YOUR_API_KEY

### Can I create multiple API keys?

Yes, you can generate multiple API keys with custom names and manage them from the
admin interface.

## Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

## Àwọn Olùkópa & Olùgbéejáde

“WP REST API Key Authentication” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn 
wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ Kamal Hosen ](https://profiles.wordpress.org/ikamal/)

A ti túmọ̀ “WP REST API Key Authentication” sí èdè agbègbè 1 kan. Ọpẹ́lọpẹ́ fún 
[àwọn atúmọ̀ èdè](https://translate.wordpress.org/projects/wp-plugins/rest-api-key-authentication/contributors)
fún àwọn ìkópa wọn.

[Túmọ̀ “WP REST API Key Authentication” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/rest-api-key-authentication)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/rest-api-key-authentication/),
ṣàyẹ̀wò [ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/rest-api-key-authentication/),
tàbí ṣe àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/rest-api-key-authentication/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/rest-api-key-authentication/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 1.0

 * Initial release.
 * Added support for API key creation and deletion.
 * Added REST API authentication using API keys.
 * Added popup with “Copy to Clipboard” functionality for generated API keys.

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.0**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 1 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **20+**
 *  Ẹ̀yà WordPress ** 5.0 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **6.7.5**
 *  Ẹ̀yà PHP ** 7.2 tàbí ju bẹ́ẹ̀ lọ **
 *  Àwọn èdè
 * [English (US)](https://wordpress.org/plugins/rest-api-key-authentication/) àti
   [Swedish](https://sv.wordpress.org/plugins/rest-api-key-authentication/).
 *  [Túmọ̀ sí èdè rẹ](https://translate.wordpress.org/projects/wp-plugins/rest-api-key-authentication)
 * Àwọn àmì
 * [access-control](https://yor.wordpress.org/plugins/tags/access-control/)[api authentication](https://yor.wordpress.org/plugins/tags/api-authentication/)
   [API key](https://yor.wordpress.org/plugins/tags/api-key/)[rest-api](https://yor.wordpress.org/plugins/tags/rest-api/)
   [security](https://yor.wordpress.org/plugins/tags/security/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/rest-api-key-authentication/advanced/)

## Àwọn ìbò

Kò sí ìwádìí tí a tíì fi ránṣẹ́.

[Your review](https://wordpress.org/support/plugin/rest-api-key-authentication/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/rest-api-key-authentication/reviews/)

## Àwọn Olùkópa

 *   [ Kamal Hosen ](https://profiles.wordpress.org/ikamal/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/rest-api-key-authentication/)