Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AwsCredentialsStringFormat format strings for printing AWS credentials as a string or as environment variables AwsCredentialsStringFormat = `Temporary Credentials: AccessKeyID: %s SecretAccessKey: %s SessionToken: %s Region: %s Expires: %s` AwsExportFormat = `` /* 137-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSCredentialsResponse ¶
type AWSCredentialsResponse struct { AccessKeyID string `json:"AccessKeyID" yaml:"AccessKeyID"` SecretAccessKey string `json:"SecretAccessKey" yaml:"SecretAccessKey"` SessionToken string `json:"SessionToken" yaml:"SessionToken"` Region string `json:"Region" yaml:"Region"` Expiration string `json:"Expiration" yaml:"Expiration"` }
func (*AWSCredentialsResponse) AWSV2Config ¶ added in v0.1.18
func (r *AWSCredentialsResponse) AWSV2Config() (aws.Config, error)
AWSV2Config returns an aws-sdk-go-v2 config that can be used to programmatically access the AWS API
func (*AWSCredentialsResponse) FmtExport ¶
func (r *AWSCredentialsResponse) FmtExport() string
func (*AWSCredentialsResponse) String ¶
func (r *AWSCredentialsResponse) String() string
type GCPCredentialsResponse ¶
type GCPCredentialsResponse struct {
ProjectID string `json:"project_id" yaml:"project_id"`
}
func (*GCPCredentialsResponse) FmtExport ¶
func (r *GCPCredentialsResponse) FmtExport() string
func (*GCPCredentialsResponse) String ¶
func (r *GCPCredentialsResponse) String() string
Click to show internal directories.
Click to hide internal directories.