Documentation ¶
Index ¶
- func Commit() string
- func CreateSecret(sid string, plaintext string) error
- func GetSigningEntity(kid uint64) (*openpgp.Entity, error)
- func Name() string
- func StatCount(metric string, value int)
- func StatGauge(metric string, value int)
- func StatTime(metric string, took time.Duration)
- func UpdateSecret(sid string, plaintext string) error
- func Version() string
- type TLSAuthClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSecret ¶ added in v1.4.0
CreateSecret will create a secret with id sid and write the plaintext into it
func GetSigningEntity ¶ added in v1.4.5
GetSigningEntity gets the public keyring from gpg, using the agent Needs the gpgconf binary to find the agent socket path as gpg doesn't seem to set GPG_AUTH_INFO anymore.
func UpdateSecret ¶ added in v1.4.0
UpdateSecret will write the plaintext into the AWS Secrets Manager secret referred to by sid
Types ¶
type TLSAuthClient ¶ added in v1.3.13
func (*TLSAuthClient) GetHTTPSClient ¶ added in v1.4.0
func (auth *TLSAuthClient) GetHTTPSClient() (http.Client, error)
func (*TLSAuthClient) GetTLSConfig ¶ added in v1.4.5
func (auth *TLSAuthClient) GetTLSConfig() (*tls.Config, error)
GetTLSConfig returns a tls config object to be used by mTLS HTTP/ETCD clients etc.
func (*TLSAuthClient) String ¶ added in v1.4.0
func (auth *TLSAuthClient) String() string
String implements Stringer for printing
Click to show internal directories.
Click to hide internal directories.