Bug #25767
Updated by Alexis Mousset about 1 month ago
This will make usage in scripts simpler.
Specs:
* Write the file in @/var/rudder/run/api-token-header@
* Change the way permissions are set to enforce restrictions before writing the secret. The current implementation could leak the content.
* Add tests, specially for the permissions
* The format of the file to allow usage with @--header @file@ is:
<pre>
X-API-Token: ...
</pre>