Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var AwsConfig = must(awsconfig.GetPath)
AWS config file location. Usually in $HOME/.aws/config or %USERPROFILE%/.aws/config unless user has set $AWS_CONFIG_FILE environment variable. https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html#cli-configure-files-where
var CacheDir = EnsureWithinDir(xdg.CacheHome, config.AppName)
OS/User Cache Data Directory. https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
var ExecDir = filepath.Dir(must(os.Executable))
The directory where vegas-credentials executable is located.
var StateDir = EnsureWithinDir(xdg.StateHome, config.AppName)
OS/User State Data Directory. https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
var YkmanPath = ykman.GetPath()
Location of the Yubikey Manager CLI (ykman) executable. Empty if not available.
Functions ¶
func EnsureWithinDir ¶
Creates a given directory under baseDir and returns the absolute path.
Types ¶
This section is empty.