list

package
v0.28.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: BSD-2-Clause Imports: 15 Imported by: 0

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.

Jump to

Keyboard shortcuts

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