← Back to team overview

openstack team mailing list archive

[Swift] Is it possible to use tempauth and tempurl together?

 

Hi, all stackers,
Can I use the tempauth and tempurl at the same time? I will set a long tempauth timeout time for internal service and a short tempurl timeout for the ohters?

    My proxy-server.conf is quite easy:
    [pipeline:main]
    pipeline = healthcheck cache tempurl tempauth proxy-server

    [app:proxy-server]
    use = egg:swift#proxy
    allow_account_management = true
    account_autocreate = true

    [filter:tempauth]
    use = egg:swift#tempauth
    ...

    [filter:tempurl]
    use = egg:swifttempurl#tempurl

It works well in tempauth. But after I set the X-Account-Meta-Temp-URL-Key header on the Swift account and try to use tempurl, I got the "401 Unauthorized: Temp URL invalid" response.

Thanks,
Jonathan Lu

Follow ups