mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-09 08:07:01 +02:00
15 lines
428 B
Go
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
|
|
}
|