Project

General

Profile

Actions

Bug #25767

open

Create a variant of API token file with curl header parameter syntax

Added by Alexis Mousset about 1 month ago. Updated 23 days ago.

Status:
Pending release
Priority:
N/A
Category:
Documentation
Target version:
-
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

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:
X-API-Token: ...

Subtasks 6 (4 open2 closed)

Bug #25804: Use the system token header file in agent scriptsPending releaseFélix DALLIDETActions
Bug #25805: Use the system token header file in plugin scriptsReleasedFélix DALLIDETActions
Scale-out relay - Bug #25831: Broken Token in commandsReleasedFélix DALLIDETActions
Bug #25806: Use the system token header file in docsPending releaseFélix DALLIDETActions
Bug #25807: Use the system token header file in rudder repoPending releaseFélix DALLIDETActions
Bug #25808: Use the system token header file in the CIS docsPending releaseFélix DALLIDETActions
Actions

Also available in: Atom PDF