Refresh

This website support.themedev.net/docs/next3-offload/setup-provider-5539/digital-ocean-5713/define-your-access-keys-5744/ is currently offline. Cloudflare's Always Online™ shows a snapshot of this web page from the Internet Archive's Wayback Machine. To check for the live version, click Refresh.

1+(91) 458 654 528 [email protected]

Define Your Access Keys

Estimated reading: 2 minutes

If you have created the DigitalOcean Access Keys, you have to add the keys to your site so that Next3 Offload can connect with DigitalOcean. 

For better security purpose, you can define your access keys in your wp-config.php:

define( 'NEXT3_SETTINGS', serialize( array(

    'provider' => 'digital',

    'access-key-id' => '********************',

    'secret-access-key' => '**************************************',

) ) );

These should be placed before the following comment in your wp-config.php:

/* That's all, stop editing! Happy publishing. */

/** Absolute path to the WordPress directory. */

if ( !defined('ABSPATH') )

    define('ABSPATH', dirname(__FILE__) . '/');

/** Sets up WordPress vars and included files. */

require_once(ABSPATH . 'wp-settings.php');

Warning: Next3 Offload Media won’t be able to read your access keys if you define them after this block of code.

In addition, you can input your access keys in the form on the Storage Provider page of Next3 Offload Media, which is the first page displayed if no keys are defined. It is less secure to define them in your wp-config.php file rather than store them to the database.

In Next3 Setup, you need to select the provider DigitalOcean and set all the DigitalOcean Spaces Settings by providing your generated Spaces Access Keys as well as Secret Key

Leave a Reply