Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAwsSecret ¶
func GetAwsSecret(metadataClient *ec2metadata.EC2Metadata, secretId string, logger log.DebugLogger) (map[string]string, error)
Types ¶
type CachedSecret ¶
type CachedSecret struct {
// contains filtered or unexported fields
}
func NewCachedSecret ¶
func NewCachedSecret(metadataClient *ec2metadata.EC2Metadata, secretId string, maximumAge time.Duration, logger log.DebugLogger) (*CachedSecret, error)
func (*CachedSecret) String ¶
func (cs *CachedSecret) String() string
Click to show internal directories.
Click to hide internal directories.