Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fetch ¶
Fetch handles the retrieval of a secret for a given workload, identified by its SPIFFE ID. The function performs several checks to ensure the request is valid and then fetches the secret.
Parameters:
- cid: A string representing the correlation ID for the request, used for tracking and logging purposes.
- w: An http.ResponseWriter object used to send responses back to the client.
- r: An http.Request object containing the request details from the client.
- spiffeid: A string representing the SPIFFE ID of the client making the request.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.