Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Encrypted ¶ added in v0.23.2
func Encrypted( cid string, r *http.Request, w http.ResponseWriter, )
Encrypted returns all registered workloads to the system. Similar to `Masked` it return meta information; however, it also returns encrypted secret values where an operator can decrypt if they know the VSecM root key.
- cid: A string representing the client identifier. - w: An http.ResponseWriter used to write the HTTP response. - r: A pointer to an http.Request representing the received HTTP request. - spiffeid: spiffe id of the caller.
func Masked ¶ added in v0.23.2
func Masked( cid string, r *http.Request, w http.ResponseWriter, )
Masked returns all registered workloads to the system with some metadata that is secure to share. For example, it returns secret names but not values.
- cid: A string representing the client identifier. - w: An http.ResponseWriter used to write the HTTP response. - r: A pointer to an http.Request representing the received HTTP request. - spiffeid: spiffe id of the caller.
Types ¶
This section is empty.