auth

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credential

type Credential struct {
	AK     string
	SK     string
	Region string
	Intl   bool
}

Credential is the provider-local Huawei credential shape used by the lightweight IAM/control-plane client. Region may still be "all" at the provider boundary and is resolved before individual requests are sent.

func FromOptions

func FromOptions(options schema.Options) (Credential, error)

func New

func New(ak, sk, region string, intl bool) Credential

func (Credential) Validate

func (c Credential) Validate() error

Jump to

Keyboard shortcuts

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