config

package
v0.0.0-...-1f2efe8 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package config provides the content of AWS config file.

Index

Constants

View Source
const AwsConfigPath = "~/.aws/config"

AwsConfigPath ...

Variables

This section is empty.

Functions

func CreateDefaultRoleSessionName

func CreateDefaultRoleSessionName() string

CreateDefaultRoleSessionName ...

Types

type AwsFileConfig

type AwsFileConfig struct {
	MfaSerial       string
	RoleArn         string
	RoleSessionName string
	DurationSeconds int
	SourceProfile   string
}

AwsFileConfig ...

func GetAwsFileConfig

func GetAwsFileConfig(path string, profile string) (AwsFileConfig, error)

GetAwsFileConfig ...

Jump to

Keyboard shortcuts

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