-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sharing types between plugin and logical
- Loading branch information
Chris Hoffman
committed
Jun 2, 2018
1 parent
6cd43db
commit ab8a78a
Showing
3 changed files
with
345 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
syntax = "proto3"; | ||
|
||
option go_package = "github.com/hashicorp/vault/logical"; | ||
|
||
package logical; | ||
|
||
message Entity { | ||
// ID is the unique identifier for the entity | ||
string ID = 1; | ||
|
||
// Name is the human-friendly unique identifier for the entity | ||
string name = 2; | ||
|
||
// Aliases contains thhe alias mappings for the given entity | ||
repeated Alias aliases = 3; | ||
} | ||
|
||
message Alias { | ||
// MountType is the backend mount's type to which this identity belongs | ||
string mount_type = 1; | ||
|
||
// MountAccessor is the identifier of the mount entry to which this | ||
// identity belongs | ||
string mount_accessor = 2; | ||
|
||
// Name is the identifier of this identity in its authentication source | ||
string name = 3; | ||
} | ||
|