]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blame - vendor/github.com/aws/aws-sdk-go/aws/defaults/shared_config.go
Transfer of provider code
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / aws / aws-sdk-go / aws / defaults / shared_config.go
CommitLineData
9b12e4fe
JC
1package defaults
2
3import (
4 "github.com/aws/aws-sdk-go/internal/shareddefaults"
5)
6
7// SharedCredentialsFilename returns the SDK's default file path
8// for the shared credentials file.
9//
10// Builds the shared config file path based on the OS's platform.
11//
12// - Linux/Unix: $HOME/.aws/credentials
13// - Windows: %USERPROFILE%\.aws\credentials
14func SharedCredentialsFilename() string {
15 return shareddefaults.SharedCredentialsFilename()
16}
17
18// SharedConfigFilename returns the SDK's default file path for
19// the shared config file.
20//
21// Builds the shared config file path based on the OS's platform.
22//
23// - Linux/Unix: $HOME/.aws/config
24// - Windows: %USERPROFILE%\.aws\config
25func SharedConfigFilename() string {
26 return shareddefaults.SharedConfigFilename()
27}