sharedCredentials

package
v0.0.0-...-3f59448 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

package sharedCredentials provides access to the aws shared credentials file.

It will look for "AWS_SHARED_CREDENTIALS_FILE" env variable. If the env value is empty will default to current user's home directory. Linux/OSX: "$HOME/.aws/credentials" Windows: "%USERPROFILE%\.aws\credentials"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Store

func Store(accessKeyID, secretAccessKey, sessionToken, profile string) error

Store function updates the shared credentials with the specified values: * If the shared credentials file does not exist, it will be created. Any parent directories will also be created. * If the section to update does not exist, it will be created.

Types

This section is empty.

Jump to

Keyboard shortcuts

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