Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-5340

FIWARE.Request.Tech.Cloud.ObjectStorage.Temp url access with object storage

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      Hi:

      I am trying to use the temp url feature in Swift object storage. The use
      case is being able to generate public urls for picture files so that they
      can be shown in my application web page (using html img tag). I've managed
      to upload and download files using curl and my auth token, following the
      instructions in
      http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide.

      In order to use temp url feature I've followed the guide in
      http://docs.openstack.org/kilo/config-reference/content/object-storage-tempurl.html.
      I've done the following:

      1. I've generate the X-Account-Meta-Temp-URL-Key using the command swift
      post -m "X-Account-Meta-Temp-URL-Key:b3968d0207b54ece87cccc06515a89d4".
      2. I've verified that the temp url key has been successfully saved
      using swift
      stat command.
      3. I've generated the temp file url using the tool swift-temp-url. This
      tool gives an url with all the parameters needed (temp_url_sig and
      temp_url_expires).
      4. I've copied the url obtained in the previous step to my browser and
      tried to retrieved the file, obtaining a message telling that I am not
      authorized. The same happens using curl.

      What am I doing wrong? I really need to get this feature working in order
      to be able to feed my application with pictures.

      Thank you very much,

      Jose

      Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
      Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-lab-help
      [Created via e-mail received from: jose antonio lorenzo <joanlofe@gmail.com>]

        Activity

        Hide
        mev Manuel Escriche added a comment -

        Kalman, no activity here?

        Show
        mev Manuel Escriche added a comment - Kalman, no activity here?
        Hide
        meth Kalman Meth added a comment -


        Tthis is a duplicate of HELP-5348.

        Show
        meth Kalman Meth added a comment - Tthis is a duplicate of HELP-5348 .

          People

          • Assignee:
            meth Kalman Meth
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: