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 = `export AWS_ACCESS_KEY_ID=%s export AWS_SECRET_ACCESS_KEY=%s export AWS_SESSION_TOKEN=%s export AWS_DEFAULT_REGION=%s` )
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) 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.