fetch

package
v0.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2024 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(cid string, w http.ResponseWriter, r *http.Request, spiffeid string)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL