auth

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 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 {
	AccessKey     string
	SecretKey     string
	SecurityToken string
}

Credential keeps UCloud AK/SK/token values in the same shape the console already uses for other providers.

func FromOptions

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

func New

func New(accessKey, secretKey, securityToken string) 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