Refresh

This website support.themedev.net/docs/next3-offload/setup-provider-5539/aws-s3-5542/define-your-access-keys-5549/ 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: 1 minute

You must now add your AWS Access Keys to your website in order for Next3 Offload Media to use them when interacting with the Amazon S3 service.

We recommend providing your access keys in your wp-config.php file for increased security:


define( 'NEXT3_SETTINGS', serialize( array(
    'provider' => 'aws',
    'access-key-id' => '********************',
    'secret-access-key' => '**************************************',
    'endpoint' => ''
) ) );    
                                

The following block of code in your wp-config.php file should come before these:

   
/* 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.

select provider

Leave a Reply