Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrIAMKeyUnspecified = errors.New("either IAMKey or IAMKeyFile must be provided") ErrIAMKey = errors.New("error reading IAM key") ErrIAMKeyFile = errors.New("error reading IAM key file") ErrIAMTokenCreate = errors.New("error creating IAM token") ErrServiceAccountCreds = errors.New("error reading service account credentials") ErrYCSDK = errors.New("error reading YC SDK client") )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// IamKeyFile specifies file path to IAM key file in jsom format.
IamKeyFile string
// IamKey specifies service account IAM key (usually in json format).
// This param (if not empty) takes precedence over IamKeyFile.
IamKey []byte
}
Config is Yandex CLoud authenticator config.
Click to show internal directories.
Click to hide internal directories.