mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-11-04 12:37:59 +00:00 
			
		
		
		
	* 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
		
			
				
	
	
		
			17 lines
		
	
	
		
			742 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			742 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package logical
 | 
						|
 | 
						|
// Alias represents the information used by core to create implicit entity.
 | 
						|
// Implicit entities get created when a client authenticates successfully from
 | 
						|
// any of the authentication backends (except token backend).
 | 
						|
type Alias struct {
 | 
						|
	// MountType is the backend mount's type to which this identity belongs
 | 
						|
	MountType string `json:"mount_type" structs:"mount_type" mapstructure:"mount_type"`
 | 
						|
 | 
						|
	// MountAccessor is the identifier of the mount entry to which this
 | 
						|
	// identity belongs
 | 
						|
	MountAccessor string `json:"mount_accessor" structs:"mount_accessor" mapstructure:"mount_accessor"`
 | 
						|
 | 
						|
	// Name is the identifier of this identity in its authentication source
 | 
						|
	Name string `json:"name" structs:"name" mapstructure:"name"`
 | 
						|
}
 |