Skip to content

Commit

Permalink
add cli documentation for defaultAccessKeyId and defaultSecretAccessKey
Browse files Browse the repository at this point in the history
  • Loading branch information
leontastic committed Mar 5, 2021
1 parent f0d087d commit a2c3337
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,16 @@ program
'Bucket name and configuration files for creating and configuring a bucket at startup',
parseConfigureBucket,
)
.option(
'--default-access-key-id <accessKeyId>',
'Access Key ID used to authenticate with s3rver.',
S3rver.defaultOptions.defaultAccessKeyId,
)
.option(
'--default-secret-access-key <secretAccessKey>',
'Secret Access Key used to authenticate with s3rver.',
S3rver.defaultOptions.defaultSecretAccessKey,
)
.version(pkg.version, '-v, --version');

// NOTE: commander doesn't support repeated variadic options,
Expand Down

0 comments on commit a2c3337

Please sign in to comment.