persist s3key and prefix