package shareddefaults
import "github.com/aws/aws-sdk-go-v2/internal/shareddefaults"
Index ¶
- func SharedConfigFilename() string
- func SharedCredentialsFilename() string
- func UserHomeDir() string
Functions ¶
func SharedConfigFilename ¶
func SharedConfigFilename() string
SharedConfigFilename returns the SDK's default file path for the shared config file.
Builds the shared config file path based on the OS's platform.
- Linux/Unix: $HOME/.aws/config
- Windows: %USERPROFILE%\.aws\config
func SharedCredentialsFilename ¶
func SharedCredentialsFilename() string
SharedCredentialsFilename returns the SDK's default file path for the shared credentials file.
Builds the shared config file path based on the OS's platform.
- Linux/Unix: $HOME/.aws/credentials
- Windows: %USERPROFILE%\.aws\credentials
func UserHomeDir ¶
func UserHomeDir() string
UserHomeDir returns the home directory for the user the process is running under.
Source Files ¶
- Version
- v1.36.3 (latest)
- Published
- Feb 27, 2025
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 1 hour ago –
Tools for package owners.