Skip to content

Commit

Permalink
Add the most basic interfaces to OSS (#13561)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgmiller authored Jan 4, 2022
1 parent 417eb9c commit 4956a15
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions vault/managed_key.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package vault

import "context"

type ManagedKey interface {
Name() string
}

type ManagedKeySystemView interface {
GetManagedKey(context.Context, string) (ManagedKey, error)
}

0 comments on commit 4956a15

Please sign in to comment.