role

package
v0.0.0-...-c42bc8f Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credential

type Credential struct {
	Raw      []byte
	Location string
}

Credential wraps the format of a credential

type Service

type Service interface {
	// GetCredential takes a role identifier and returns a wrapped credential object,
	// which is the credential in the file format, and the location of where to seed it
	GetCredential(roleID string) (*Credential, error)
}

Service is an interface that implements getting credentials and seeds them in the right location

Jump to

Keyboard shortcuts

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