credaw
is a CLI tool designed to simplify the setup of AWS profiles. It allows you to interactively input your profile name, access key, secret key, and region, then automatically writes them to your credentials and config files.
- Interactive CLI for easy AWS profile setup
- Automatically saves credentials to
~/.aws/credentials
and~/.aws/config
- Supports multiple AWS profiles
- List, update, and delete existing profiles
To install credaw
, run the following command:
npm install -g credaw
Simply run the credaw
command to start the profile management process:
credaw
You will be presented with the following options:
- Add a new profile
- List existing profiles
- Update an existing profile
- Delete a profile
When adding a new profile:
- Enter your profile name
- Enter your AWS Access Key ID
- Enter your AWS Secret Access Key
- Select your AWS region
Once the information is provided, credaw
will automatically save the details to ~/. aws/credentials
and ~/.aws/config
.
-
Build the project:
pnpm build
-
Install the package globally:
npm install -g .
-
Run the CLI tool:
credaw-dev
-
Update version
-
Build:
pnpm build
-
Publish:
npm publish
-
Global installation:
npm i -g credaw
-
Usage:
credaw
MIT License