Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SASLConfig ¶
type SASLConfig struct {
// contains filtered or unexported fields
}
func NewSASLConfig ¶
func NewSASLConfig(username, password string, useSASL bool, saslType SASLType, algorithm scram.Algorithm, smConfig *SecretManagerConfig, logger logging.LoggerInterface) *SASLConfig
func (*SASLConfig) GetSASLMechanism ¶
func (c *SASLConfig) GetSASLMechanism() sasl.Mechanism
type SecretCredentials ¶
TODO @shipperizer allow to shape structure of secrets and default to this
type SecretManagerConfig ¶
type SecretManagerConfig struct { CredentialsKey string Vault VaultInterface }
SecretManagerConfig holds the key values to fetch from SM for the credentials key
func NewSecretManagerConfig ¶
func NewSecretManagerConfig(credentialsKey string, vault VaultInterface) *SecretManagerConfig
Click to show internal directories.
Click to hide internal directories.