yandex-cloud / geesefs

Finally, a good FUSE FS implementation over S3
Other
693 stars 45 forks source link

Support passing credentials file with systemd directive `OpenFile=` #75

Open eriksjolund opened 1 year ago

eriksjolund commented 1 year ago

The systemd directive OpenFile= was introduced in systemd 253 (released 15 February 2023).

Support passing the credentials file with the systemd directive OpenFile=

This would be useful when running a systemd system service that makes use of

User=testuser

because testuser would not need read permission to the credentials file.

In other words, it would be more secure to use OpenFile= than --shared-config in such a situation.