runtimetokenprovider

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RuntimeTokenProvider

type RuntimeTokenProvider interface {
	// GetRawToken generates service scope secretstore token from the runtime service like spiffe token provider
	// and returns authorization token for delayed-start services
	// also returns any error it might have during the whole process
	GetRawToken(serviceKey string) (string, error)
}

RuntimeTokenProvider returns service scope authorization token for secret store during service's run time

func NewRuntimeTokenProvider

func NewRuntimeTokenProvider(ctx context.Context, lc logger.LoggingClient,
	runtimeTokenProvider types.RuntimeTokenProviderInfo) RuntimeTokenProvider

NewRuntimeTokenProvider creates a new runtime token provider

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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