= { endpoint: ‘HOST’, accessKeyId: ‘ACCESS_KEY’, secretAccessKey: ‘SECRET_KEY’, }; const client = new S3(s3Con fi g); const params = { Bucket: ‘melody’, Key: ‘private/folder_name/ fi le_name.m4a’, }; const previewUrl = client.getSignedUrl(‘getObject’, params); Presigned URL Implementation