Documentation ¶
Index ¶
- func HomeDirPath() string
- func WriteFile(content string, path string) error
- type AWSCredentials
- type AWSSecretGen
- func (asg *AWSSecretGen) AWSInit() error
- func (asg *AWSSecretGen) AWSLogin(awsCredentials AWSCredentials) error
- func (asg *AWSSecretGen) Generate() error
- func (asg *AWSSecretGen) GetSecretValue(secretName string) (string, error)
- func (asg *AWSSecretGen) InitSecretsManager() error
- func (asg *AWSSecretGen) LoadAWSCredentialsByFile(awsCredentials *AWSCredentials) error
- func (asg *AWSSecretGen) LoadAWSCredentialsByUser(awsCredentials *AWSCredentials) error
- func (asg *AWSSecretGen) SaveAWSCredentials(awsCredentials *AWSCredentials) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HomeDirPath ¶
func HomeDirPath() string
Types ¶
type AWSCredentials ¶
type AWSSecretGen ¶
type AWSSecretGen struct { ConfigPath string OutputPath string // contains filtered or unexported fields }
func NewAWSSecretGen ¶
func NewAWSSecretGen(configPath, outputPath string) *AWSSecretGen
func (*AWSSecretGen) AWSInit ¶
func (asg *AWSSecretGen) AWSInit() error
func (*AWSSecretGen) AWSLogin ¶
func (asg *AWSSecretGen) AWSLogin(awsCredentials AWSCredentials) error
func (*AWSSecretGen) Generate ¶
func (asg *AWSSecretGen) Generate() error
func (*AWSSecretGen) GetSecretValue ¶
func (asg *AWSSecretGen) GetSecretValue(secretName string) (string, error)
func (*AWSSecretGen) InitSecretsManager ¶
func (asg *AWSSecretGen) InitSecretsManager() error
func (*AWSSecretGen) LoadAWSCredentialsByFile ¶
func (asg *AWSSecretGen) LoadAWSCredentialsByFile(awsCredentials *AWSCredentials) error
func (*AWSSecretGen) LoadAWSCredentialsByUser ¶
func (asg *AWSSecretGen) LoadAWSCredentialsByUser(awsCredentials *AWSCredentials) error
func (*AWSSecretGen) SaveAWSCredentials ¶
func (asg *AWSSecretGen) SaveAWSCredentials(awsCredentials *AWSCredentials) error
Click to show internal directories.
Click to hide internal directories.