Documentation ¶
Index ¶
- Constants
- func GenerateAccessKeyID() ([]byte, *probe.Error)
- func GenerateSecretAccessKey() ([]byte, *probe.Error)
- func IsValidAccessKey(accessKeyID string) bool
- func IsValidSecretKey(secretAccessKey string) bool
- func SaveConfig(a *Config) *probe.Error
- func SetAuthConfigPath(configPath string)
- type Config
- type User
Constants ¶
View Source
const ( MinioAccessID = 20 MinioSecretID = 40 )
AccessID and SecretID length in bytes
Variables ¶
This section is empty.
Functions ¶
func GenerateAccessKeyID ¶
GenerateAccessKeyID - generate random alpha numeric value using only uppercase characters takes input as size in integer
func GenerateSecretAccessKey ¶
GenerateSecretAccessKey - generate random base64 numeric value from a random seed.
func IsValidAccessKey ¶
IsValidAccessKey - validate access key
func IsValidSecretKey ¶
IsValidSecretKey - validate secret key
func SetAuthConfigPath ¶
func SetAuthConfigPath(configPath string)
SetAuthConfigPath - set custom auth config path
Types ¶
Click to show internal directories.
Click to hide internal directories.