Using the DMP Tenant Bucket
When using a DMP component such as Xpress Insight or Xpress Executor, in a DMP 3.6+ environment, the Mosel instance will automatically be configured to access an S3 bucket that is shared by all components in your tenant. To use this, call s3init with the string "tenantShared", or the constant S3_DMP_TENANTSHARED which evaluates to "tenantShared":
model DmpInitExample uses "s3" declarations mybucket: s3bucket end-declarations ! Initialize mybucket using the 'tenantShared' set of credentials s3init(mybucket, S3_DMP_TENANTSHARED) if s3status(mybucket)<>S3_OK then writeln("Bucket initialization error: ", s3getlasterror(mybucket)) exit(1) end-if ! mybucket now initialized and can be used end-model
Unlike the solution bucket, the tenant bucket is shared by all component lifecycle stages - there are not separate folders for design, staging, and production.
Please note that the shared tenant bucket cannot be accessed from Xpress Workbench.