From ccf41d6af345d2ee8765237b37d4c96b4e99dbdd Mon Sep 17 00:00:00 2001 From: Christian Schwede Date: Tue, 4 Nov 2025 16:42:01 +0100 Subject: [PATCH] Pass service auth token in s3api middleware to Keystone This is required to make the S3 API working with newer middleware versions. Jira: OSPRH-21594 Signed-off-by: Christian Schwede --- templates/swiftproxy/config/00-proxy-server.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/swiftproxy/config/00-proxy-server.conf b/templates/swiftproxy/config/00-proxy-server.conf index 9aef5b10..c6467172 100644 --- a/templates/swiftproxy/config/00-proxy-server.conf +++ b/templates/swiftproxy/config/00-proxy-server.conf @@ -94,6 +94,13 @@ use = egg:swift#s3api [filter:s3token] use = egg:swift#s3token auth_uri = {{ .KeystonePublicURL }}/v3 +secret_cache_duration = 900 +auth_url = {{ .KeystonePublicURL }} +project_domain_id = default +user_domain_id = default +project_name = service +username = {{ .ServiceUser }} +password = {{ .ServicePassword }} [filter:staticweb] use = egg:swift#staticweb