provider.go 377 B

12345678910111213
  1. package credentials
  2. //Environmental virables that may be used by the provider
  3. const (
  4. ENVCredentialFile = "ALIBABA_CLOUD_CREDENTIALS_FILE"
  5. ENVEcsMetadata = "ALIBABA_CLOUD_ECS_METADATA"
  6. PATHCredentialFile = "~/.alibabacloud/credentials"
  7. )
  8. // Provider will be implemented When you want to customize the provider.
  9. type Provider interface {
  10. resolve() (*Config, error)
  11. }