vault/logical/auth.go
2015-03-30 14:23:32 -07:00

15 lines
428 B
Go

package logical
// Auth is the resulting authentication information that is part of
// Response for credential backends.
type Auth struct {
// Policies is the list of policies that the authenticated user
// is associated with.
Policies []string
// Metadata is used to attach arbitrary string-type metadata to
// an authenticated user. This metadata will be outputted into the
// audit log.
Metadata map[string]string
}