You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: The current system lacks a secure method to authenticate requests to the workflow endpoints, which could lead to unauthorized access and potential data breaches.
Need: To enhance security, it is necessary to set an environment variable for the token header that will be used for authenticating requests to the endpoints.
Fit: This change is part of a larger effort to implement secure and efficient workflow plumbing for Stakwork's common workflow system.
Background: This ticket is a prerequisite for implementing endpoint authentication, which will ensure that only requests with the correct token header are processed.
This is related to a broader project defined here:
For context see: #1922
System Schematic:
Design
Objective: Set an environment variable SWWF_RESKEY that will store the token used for authenticating requests to the workflow endpoints.
confirm env variable for SWWF_RESKEY with Pete via Sphinx V2
Update .env on staging prod
Ensure that the value of SWWF_RESKEY is securely stored and accessed only by authorized components of the application.
Update the application configuration to read the SWWF_RESKEY from the environment and use it in the request authentication process.
# Example .env file entry
SWWF_RESKEY=your_secure_token_here
Assignment Criteria
Required Knowledge/Skills: Familiarity with environment variable management, secure token handling, and basic authentication mechanisms.
Communication Channels: Ensure you are live on Sphinx V2 for any queries or discussions.
Acceptance Criteria
The SWWF_RESKEY environment variable is set in the appropriate configuration file or system.
The application can successfully read the SWWF_RESKEY from the environment.
The token is securely stored and not exposed in logs or error messages.
Documentation is updated to reflect the new environment variable and its purpose.
Test cases are created to verify that the token is correctly read and used in the authentication process.
The text was updated successfully, but these errors were encountered:
Context
This is related to a broader project defined here:
For context see: #1922
System Schematic:
Design
SWWF_RESKEY
that will store the token used for authenticating requests to the workflow endpoints.SWWF_RESKEY
is securely stored and accessed only by authorized components of the application.SWWF_RESKEY
from the environment and use it in the request authentication process.Assignment Criteria
Acceptance Criteria
SWWF_RESKEY
environment variable is set in the appropriate configuration file or system.SWWF_RESKEY
from the environment.The text was updated successfully, but these errors were encountered: