func GenerateCredentials(ctx context.Context) *checker.Credentials {
	res := &checker.Credentials{}
	if requestID, ok := ctx.Value(&interceptors.RequestID{}).(string); ok {
		res.RequestID = requestID
	}
	if client, ok := ctx.Value(&interceptors.ClientName{}).(string); ok {
		res.Client = client
	}
	if ip, ok := ctx.Value(&interceptors.ExternalIP{}).(string); ok {
		res.IP = ip
	}
	return res
}
GenerateCredentials generates checker credentials from the GRPC request information.
package handlers
import (
	context "context"
	"github.com/attestantio/dirk/services/api/grpc/interceptors"
	"github.com/attestantio/dirk/services/checker"
)