diff --git a/internal/namespaces/object/v1/s3configfile.go b/internal/namespaces/object/v1/s3configfile.go index a6624ee3bc..c340a75f34 100644 --- a/internal/namespaces/object/v1/s3configfile.go +++ b/internal/namespaces/object/v1/s3configfile.go @@ -67,6 +67,7 @@ const rcloneTemplate = `# Generated by scaleway-cli command # Default location: $HOME/.config/rclone/rclone.conf [{{ .Name }}] type = s3 +provider = Scaleway env_auth = false endpoint = s3.{{ .Region }}.scw.cloud access_key_id = {{ .AccessKey }} diff --git a/internal/namespaces/object/v1/testdata/test-config-get-default-rclone.golden b/internal/namespaces/object/v1/testdata/test-config-get-default-rclone.golden index a640f53e74..fbefdbbf60 100644 --- a/internal/namespaces/object/v1/testdata/test-config-get-default-rclone.golden +++ b/internal/namespaces/object/v1/testdata/test-config-get-default-rclone.golden @@ -5,6 +5,7 @@ # Default location: $HOME/.config/rclone/rclone.conf [scaleway] type = s3 +provider = Scaleway env_auth = false endpoint = s3.fr-par.scw.cloud access_key_id = SCWXXXXXXXXXXXXXXXXX @@ -21,6 +22,7 @@ storage_class = # Default location: $HOME/.config/rclone/rclone.conf [scaleway] type = s3 +provider = Scaleway env_auth = false endpoint = s3.fr-par.scw.cloud access_key_id = SCWXXXXXXXXXXXXXXXXX diff --git a/internal/namespaces/object/v1/testdata/test-config-get-with-region-rclone.golden b/internal/namespaces/object/v1/testdata/test-config-get-with-region-rclone.golden index e8d3fb2f68..c8bf893230 100644 --- a/internal/namespaces/object/v1/testdata/test-config-get-with-region-rclone.golden +++ b/internal/namespaces/object/v1/testdata/test-config-get-with-region-rclone.golden @@ -5,6 +5,7 @@ # Default location: $HOME/.config/rclone/rclone.conf [scaleway] type = s3 +provider = Scaleway env_auth = false endpoint = s3.nl-ams.scw.cloud access_key_id = SCWXXXXXXXXXXXXXXXXX @@ -21,6 +22,7 @@ storage_class = # Default location: $HOME/.config/rclone/rclone.conf [scaleway] type = s3 +provider = Scaleway env_auth = false endpoint = s3.nl-ams.scw.cloud access_key_id = SCWXXXXXXXXXXXXXXXXX