mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 19:47:54 +00:00
Porting identity store (#3419)
* porting identity to OSS * changes that glue things together * add testing bits * wrapped entity id * fix mount error * some more changes to core * fix storagepacker tests * fix some more tests * fix mount tests * fix http mount tests * audit changes for identity * remove upgrade structs on the oss side * added go-memdb to vendor
This commit is contained in:
@@ -52,6 +52,10 @@ type Auth struct {
|
||||
// Number of allowed uses of the issued token
|
||||
NumUses int `json:"num_uses" mapstructure:"num_uses" structs:"num_uses"`
|
||||
|
||||
// EntityID is the identifier of the entity in identity store to which the
|
||||
// identity of the authenticating client belongs to.
|
||||
EntityID string `json:"entity_id" mapstructure:"entity_id" structs:"entity_id"`
|
||||
|
||||
// Alias is the information about the authenticated client returned by
|
||||
// the auth backend
|
||||
Alias *Alias `json:"alias" structs:"alias" mapstructure:"alias"`
|
||||
|
||||
Reference in New Issue
Block a user