Documentation ¶
Overview ¶
Package access contains commands related to API access for the client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthInterceptorConfig ¶
type AuthInterceptorConfig struct {
// contains filtered or unexported fields
}
AuthInterceptorConfig defines Omni auth gRPC interceptors config.
func NewAuthInterceptorConfig ¶
func NewAuthInterceptorConfig(contextName, identity, serviceAccountKey string) (*AuthInterceptorConfig, error)
NewAuthInterceptorConfig creates new auth interceptor.
func (*AuthInterceptorConfig) Interceptor ¶
func (c *AuthInterceptorConfig) Interceptor() *interceptor.Signature
Interceptor creates gRPC interceptor.
type ServiceAccountKey ¶
type ServiceAccountKey struct { // Name is the name (identity) of the service account key. Name string `json:"name"` // PGPKey is the armored PGP private key. PGPKey string `json:"pgp_key"` }
ServiceAccountKey is the JSON representation of a service account key.
Click to show internal directories.
Click to hide internal directories.