2.2.0 • Published 3 years ago

awsprofile v2.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

awsprofile

CLI to manage AWS profiles and renew STS tokens

oclif Version Downloads/week License

Usage

$ npm install -g awsprofile
$ awsprofile COMMAND
running command...
$ awsprofile (-v|--version|version)
awsprofile/2.2.0 darwin-x64 node-v15.13.0
$ awsprofile --help [COMMAND]
USAGE
  $ awsprofile COMMAND
...

Commands

awsprofile create

Create new AWS profile (Interactive mode if no flags are provided)

USAGE
  $ awsprofile create

OPTIONS
  -a, --accessKey=accessKey              AWS Access Key
  -c, --mfaCode=mfaCode                  MFA code from the authenticator app
  -h, --help                             show CLI help
  -m, --mfaSerial=mfaSerial              MFA serial (ARN)
  -n, --name=name                        Profile name
  -p, --sourceProfile=sourceProfile      Source profile for assumed profile types
  -r, --roleArn=roleArn                  IAM role ARN for assumed profile types
  -s, --secretAccessKey=secretAccessKey  AWS Secret Access Key
  -t, --type=normal|assumed              Profile type
  --mfa                                  Is MFA profile ?
  --region=region                        AWS region

See code: src/commands/create.ts

awsprofile delete PROFILE

Delete profile

USAGE
  $ awsprofile delete PROFILE

ARGUMENTS
  PROFILE  Profile name to delete

OPTIONS
  -f, --force
  -h, --help   show CLI help

See code: src/commands/delete.ts

awsprofile help [COMMAND]

display help for awsprofile

USAGE
  $ awsprofile help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

awsprofile list

List AWS profiles

USAGE
  $ awsprofile list

OPTIONS
  -h, --help  show CLI help
  -k, --keys  Display keys
  -w, --wide  Wider display (All details except keys)

See code: src/commands/list.ts

awsprofile renew [PROFILE] [MFACODE]

Renew MFA / Assumed profile (Interactive mode if no flags are provided)

USAGE
  $ awsprofile renew [PROFILE] [MFACODE]

ARGUMENTS
  PROFILE  Profile name to renew
  MFACODE  MFA code

OPTIONS
  -h, --help  show CLI help

See code: src/commands/renew.ts

awsprofile switch PROFILE

Switch profiles. (Renews expired MFA / assumed profiles)

USAGE
  $ awsprofile switch PROFILE

ARGUMENTS
  PROFILE  Profile name to switch

OPTIONS
  -h, --help  show CLI help

See code: src/commands/switch.ts

2.2.0

3 years ago

2.1.1

3 years ago

2.0.2

3 years ago

2.1.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.26

5 years ago

1.0.25

5 years ago

1.0.24

5 years ago

1.0.23

5 years ago

1.0.22

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago