Lucee S3 Extension Version 2.0 (Beta)

There is a new version of the S3 Extension that now allows to configure multiple endpoints to connect.
Please also see S3 Credentials

So far
Next to default credentials in the Application.cfc like this

this.s3.accessKeyId = "...";
this.s3.awsSecretKey = "...";

that you can use like this in the code


you now can define credentials also like this in the Application.cfc

// extension provider endpoint
this.vfs.s3.extensionProvider.accessKeyId = "...";
this.vfs.s3.extensionProvider.awsSecretKey = "...";

// general artifacts
this.vfs.s3.artifacts.accessKeyId = "...";
this.vfs.s3.artifacts.awsSecretKey = "...";

// vfs=virtual file system

that then can be used like this in the code


Next to the Application.cfc, you can also define this endpoints in environment variables like this


or with system properties like this


This extension will be bundled with Lucee 6, but of course can also be used with Lucee 5.

BTW we use “vfs” as part of the structure because we plan to add more possible settings for other virtual file system in the near future and we wanna have a common structure for all this VFS settings. And yes you can also do this.vfs.s3.accessKeyId as an alias for this.s3.accessKeyId.

1 Like