awsprofile
    TypeScript icon, indicating that this package has built-in type declarations

    2.2.0 • Public • Published

    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

    Install

    npm i awsprofile

    DownloadsWeekly Downloads

    77

    Version

    2.2.0

    License

    MIT

    Unpacked Size

    69 kB

    Total Files

    23

    Last publish

    Collaborators

    • avatar