feat: add password credential to meta_session.go (#6257)
This commit is contained in:
1 parent
6b7ac06dca
commit
d3b2e7402b
1 file changed
+11
@@ -111,6 +111,16 @@ type StaticUsernamePasswordCredential struct {
|
||||
CredentialStore StaticCredentialStore
|
||||
}
|
||||
|
||||
// StaticPasswordCredential represents a Static password credential used for this session
|
||||
type StaticPasswordCredential struct {
|
||||
PublicId string
|
||||
Name string // optional field
|
||||
Description string // optional field
|
||||
PasswordHmac []byte
|
||||
Purposes []string
|
||||
CredentialStore StaticCredentialStore
|
||||
}
|
||||
|
||||
// StaticSshPrivateKeyCredential represents a Static Ssh private key credential used for this session
|
||||
type StaticSshPrivateKeyCredential struct {
|
||||
PublicId string
|
||||
@@ -179,6 +189,7 @@ type SessionMeta struct {
|
||||
|
||||
StaticJSONCredentials []StaticJsonCredential
|
||||
StaticUsernamePasswordCredentials []StaticUsernamePasswordCredential
|
||||
StaticPasswordCredentials []StaticPasswordCredential
|
||||
StaticSshPrivateKeyCredentials []StaticSshPrivateKeyCredential
|
||||
VaultGenericLibraries []VaultGenericLibrary
|
||||
VaultSshCertificateLibraries []VaultSshCertificateLibrary
|
||||
|
||||
Reference in new issue
Block a user