iam

package
Version: v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(iam *config.CredentialStore)

Types

type IAMAuthenticator

type IAMAuthenticator interface {
	// AkSk
	CreateAkSk(aksk *model.AkSk, req *pb.AkSkCreateRequest) (*model.Blob, error)
	DeleteAkSk(ctx context.Context, in *pb.DeleteAkSkRequest) error
	DownloadAkSk(ctx context.Context, in *pb.GetAkSkRequest) (*model.AkSkListOut, error)
	GetAkSk(ctx context.Context, in *pb.GetAkSkRequest) (model.Credentials, error)
}
var CredStore IAMAuthenticator

Source Files

Directories

Path Synopsis
driver

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL