Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleCloud ¶
type GoogleCloud struct {
STSAudience string `toml:"sts_audience"`
CredentialsFile string `toml:"credentials_file"`
Log telegraf.Logger `toml:"-"`
common_http.HTTPClientConfig
// contains filtered or unexported fields
}
func (*GoogleCloud) Get ¶
func (g *GoogleCloud) Get(key string) ([]byte, error)
Get retrieves the token. The key is ignored as this secret store only provides one secret.
func (*GoogleCloud) GetResolver ¶
func (g *GoogleCloud) GetResolver(key string) (telegraf.ResolveFunc, error)
GetResolver returns a resolver function for the secret.
func (*GoogleCloud) Init ¶
func (g *GoogleCloud) Init() error
func (*GoogleCloud) List ¶
func (*GoogleCloud) List() ([]string, error)
List returns the list of secrets provided by this store.
func (*GoogleCloud) SampleConfig ¶
func (*GoogleCloud) SampleConfig() string
func (*GoogleCloud) Set ¶
func (*GoogleCloud) Set(_, _ string) error
Set is not supported for the gcloud secret store.
Click to show internal directories.
Click to hide internal directories.