Migrate credential-library nomenclature around targets to credential-source (#1413)

See the CHANGELOG entry for more information.

Co-authored-by: Jim <jlambert@hashicorp.com>

Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2021-07-27 12:48:36 -04:00
1 parent 528d54b4ad
commit ab6f3eaeb4
36 files changed
+3284 -673

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
package target
import "github.com/hashicorp/boundary/internal/credential"
// CredentialSource is an interface that can be implemented by both a library
// and a singular credential.
type CredentialSource interface {
CredentialStoreId() string
Id() string
CredentialPurpose() credential.Purpose
TargetId() string
}