Module delegated_identity

Module delegated_identity 

Source
Expand description

This module provides an API surface to interact with the DelegateIdentity API. The protobuf definition can be found here

More information on it’s usage can be found in the SPIFFE docs

Most importantly, this API cannot be used over the standard endpoint, it must be used over the admin socket. The admin socket can be configured in the SPIRE agent configuration document.

Structs§

DelegatedIdentityClient
Impl for DelegatedIdentity API

Enums§

DelegateAttestationRequest
Represents that a delegate attestation request can have one-of PID (let agent attest PID->selectors) or selectors (delegate has already attested a PID)

Constants§

ADMIN_SOCKET_ENV
Name of the environment variable that holds the default socket endpoint path.

Functions§

get_admin_socket_path
Gets the endpoint socket endpoint path from the environment variable ADMIN_SOCKET_ENV, as described in SPIFFE standard.