Example Usage

DECLARE
    l_idcs_token  VARCHAR2(4000);
    l_par_uri     VARCHAR2(32767);
    l_blob_data   BLOB;
BEGIN
    l_idcs_token := get_idcs_token('https://idcs-url.com', 'client-id', 'client-secret', 'scope-suffix');
    l_par_uri := generate_par('https://object-store-url.com', 'tenant-id', l_idcs_token, 'os-prefix', 'file-name.csv');
    l_blob_data := export_query_to_blob('SELECT * FROM my_table');
    put_object_in_store(l_par_uri, l_blob_data);
END;