Change the handshake config from the default

This commit is contained in:
Brian Kassouf 2017-03-16 17:51:25 -07:00
parent 2873825848
commit 417770a58f

View file

@ -20,8 +20,8 @@ import (
// directory. It is a UX feature, not a security feature. // directory. It is a UX feature, not a security feature.
var handshakeConfig = plugin.HandshakeConfig{ var handshakeConfig = plugin.HandshakeConfig{
ProtocolVersion: 1, ProtocolVersion: 1,
MagicCookieKey: "BASIC_PLUGIN", MagicCookieKey: "VAULT_DATABASE_PLUGIN",
MagicCookieValue: "hello", MagicCookieValue: "926a0820-aea2-be28-51d6-83cdf00e8edb",
} }
type DatabasePlugin struct { type DatabasePlugin struct {