Documentation ¶
Index ¶
- Constants
- func GetAccessKeyId() string
- func GetAccessKeySecret() string
- func GetAliyuncliIgnoreProfile() string
- func GetAliyuncliProfileName() string
- func GetAliyuncliProfilePath() string
- func GetCredentialsFile() string
- func GetCredentialsURI() string
- func GetOIDCProviderArn() string
- func GetOIDCTokenFile() string
- func GetRoleArn() string
- func GetRoleSessionName() string
- func GetSecurityToken() string
- func NewCredentialsProvider(opts CredentialsProviderOptions) (provider.CredentialsProvider, error)
- type CredentialsProviderOptions
Constants ¶
View Source
const ( EnvRoleSessionName = envNewSdkRoleSessionName EnvCredentialsURI = envNewSdkCredentialsURI // #nosec G101 )
Variables ¶
This section is empty.
Functions ¶
func GetAccessKeyId ¶
func GetAccessKeyId() string
func GetAccessKeySecret ¶
func GetAccessKeySecret() string
func GetAliyuncliIgnoreProfile ¶
func GetAliyuncliIgnoreProfile() string
func GetAliyuncliProfileName ¶
func GetAliyuncliProfileName() string
func GetAliyuncliProfilePath ¶
func GetAliyuncliProfilePath() string
func GetCredentialsFile ¶
func GetCredentialsFile() string
func GetCredentialsURI ¶
func GetCredentialsURI() string
func GetOIDCProviderArn ¶
func GetOIDCProviderArn() string
func GetOIDCTokenFile ¶
func GetOIDCTokenFile() string
func GetRoleArn ¶
func GetRoleArn() string
func GetRoleSessionName ¶
func GetRoleSessionName() string
func GetSecurityToken ¶
func GetSecurityToken() string
func NewCredentialsProvider ¶
func NewCredentialsProvider(opts CredentialsProviderOptions) (provider.CredentialsProvider, error)
NewCredentialsProvider return a CredentialsProvider base on environment variables
Types ¶
type CredentialsProviderOptions ¶
type CredentialsProviderOptions struct {
STSEndpoint string
}
Click to show internal directories.
Click to hide internal directories.