<?php
header('Content-Type: application/json; charset=utf-8');
date_default_timezone_set("Asia/Kolkata");

$response = [
    "code" => 0,
    "msg" => "Success",
    "data" => [
        "accessKeyId" => "demo-access-key-id",
        "accessKeySecret" => "demo-access-key-secret",
        "securityToken" => "demo-temporary-token",
        "expiration" => date("Y-m-d\TH:i:s\Z", strtotime("+1 hour")),
        "bucket" => "finaloss",
        "region" => "ap-southeast-1",
        "dir" => "/Prod/User/"
    ]
];

echo json_encode($response, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
?>
