aws-profile create

The aws-profile create command creates a new AWS profile on your local machine. It prompts you for a profile name, AWS Access Key ID, and AWS Secret Access Key, then stores them in the default AWS credentials location in your home directory. Other AWS tools — including the AWS CLI — can use these profiles.

Usage

stacktape aws-profile create

The command is fully interactive. It walks you through three prompts:

  1. Profile name — an arbitrary name for the profile. Leave blank to use default. A profile named default is used automatically when no --profile flag is passed to other Stacktape commands.
  2. AWS Access Key ID — the access key from your IAM user's security credentials.
  3. AWS Secret Access Key — the corresponding secret key (input is masked).

If a profile with the chosen name already exists in your credentials or config file, the command fails with an error. Use aws-profile update to change credentials for an existing profile. All prompts are handled interactively — there are no required flags.

Flags

stacktape aws-profile createCLI options
-h, --helpstring

Show Help

If provided, the command will not execute and will instead print help information.

--log-level"info" | "debug" | "error"

Log Level

The level of logs to print to the console.

  • info: Basic information about the operation.
  • error: Only errors.
  • debug: Detailed information for debugging.
--quietboolean

Quiet

Hide progress, banners, success messages and hints. Command output, warnings and errors are still printed.

Examples

Create a profile named default (used automatically when no profile is specified):

stacktape aws-profile create

When prompted for a profile name, press Enter without typing anything. The profile is saved as default.

Create a named profile for a specific AWS account or purpose:

stacktape aws-profile create

When prompted, enter a name like staging or production. You can then pass --profile staging to commands like deploy to use that profile's credentials.

Reduce log output to errors only:

stacktape aws-profile create --log-level error

Where credentials are stored

Credentials are stored in the default AWS credentials location in your home directory. This is the same location used by the AWS CLI and AWS SDKs, so profiles created with Stacktape work with any AWS tooling on the same machine.

For Console-managed AWS access, see Connecting your AWS account.