Documentation ¶
Index ¶
Constants ¶
View Source
const ( AkEnvName = "HUAWEICLOUD_SDK_AK" SkEnvName = "HUAWEICLOUD_SDK_SK" ProjectIdEnvName = "HUAWEICLOUD_SDK_PROJECT_ID" DomainIdEnvName = "HUAWEICLOUD_SDK_DOMAIN_ID" RegionIdEnvName = "HUAWEICLOUD_SDK_REGION_ID" DerivedAuthServiceNameEnvName = "HUAWEICLOUD_SDK_DERIVED_AUTH_SERVICE_NAME" DerivedPredicateEnvName = "HUAWEICLOUD_SDK_DERIVED_PREDICATE" DefaultDerivedPredicate = "DEFAULT_DERIVED_PREDICATE" BasicCredentialType = "basic.Credentials" GlobalCredentialType = "global.Credentials" )
Variables ¶
This section is empty.
Functions ¶
func LoadCredentialFromEnv ¶
func LoadCredentialFromEnv(defaultType string) auth.ICredential
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.