Package akka.javasdk

Interface SpiffeContext


@DoNotInherit public interface SpiffeContext
SPIFFE identity information available during request processing. Provides access to the component's own identity and, for HTTP/gRPC endpoints, the optional identity of the calling component.

Not for user extension, implementation provided by the SDK.

  • Method Summary

    Modifier and Type
    Method
    Description
    The SPIFFE identity of the calling component, if the caller included the _kalix-caller-spiffe header.
    The SPIFFE ID assigned to this component, e.g.
  • Method Details

    • getSpiffeId

      String getSpiffeId()
      The SPIFFE ID assigned to this component, e.g. spiffe://trust/svc/service/http-endpoint/MyEndpoint.
    • getCallerContext

      Optional<CallerSpiffeContext> getCallerContext()
      The SPIFFE identity of the calling component, if the caller included the _kalix-caller-spiffe header. Present only when an Akka service in the same project called this endpoint. Empty for external/internet callers.