env

package
v0.0.83 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL