Skip to main content
Version: Next

reduct-cli token

Manage access tokens

Options

  • -i, --ignore-ssl: Ignore SSL certificate verification
  • -T, --timeout <SECONDS>: Timeout for requests [default: 30]
  • -p, --parallel <COUNT>: Number of parallel requests [default: 10]
  • -h, --help: Print help

Help Output

Manage access tokens

Usage: reduct-cli token [OPTIONS] [COMMAND]

Commands:
create Create an access token
ls List access tokens
show Show token details
rm Remove an access token
help Print this message or the help of the given subcommand(s)

Options:
-i, --ignore-ssl Ignore SSL certificate verification
-T, --timeout <SECONDS> Timeout for requests [default: 30]
-p, --parallel <COUNT> Number of parallel requests [default: 10]
-h, --help Print help

Subcommands

create

Create an access token

Arguments

Options

  • -A, --full-access: Give full access to the token
  • -i, --ignore-ssl: Ignore SSL certificate verification
  • -r, --read-bucket <TEST>...: Bucket to give read access to. Can be used multiple times
  • -T, --timeout <SECONDS>: Timeout for requests [default: 30]
  • -p, --parallel <COUNT>: Number of parallel requests [default: 10]
  • -w, --write-bucket <TEST>...: Bucket to give write access to. Can be used multiple times
  • -h, --help: Print help

Help Output

Create an access token

Usage: reduct-cli token create [OPTIONS] <TOKEN_PATH>

Arguments:
<TOKEN_PATH> Path to a resource to use (e.g. SERVER_ALIAS/<RESOURCE_NAME> or http://token@localhost:8383/RESOURCE_NAME)

Options:
-A, --full-access Give full access to the token
-i, --ignore-ssl Ignore SSL certificate verification
-r, --read-bucket <TEST>... Bucket to give read access to. Can be used multiple times
-T, --timeout <SECONDS> Timeout for requests [default: 30]
-p, --parallel <COUNT> Number of parallel requests [default: 10]
-w, --write-bucket <TEST>... Bucket to give write access to. Can be used multiple times
-h, --help Print help

ls

List access tokens

Arguments

Options

  • -i, --ignore-ssl: Ignore SSL certificate verification
  • -T, --timeout <SECONDS>: Timeout for requests [default: 30]
  • -p, --parallel <COUNT>: Number of parallel requests [default: 10]
  • -h, --help: Print help

Help Output

List access tokens

Usage: reduct-cli token ls [OPTIONS] <ALIAS_OR_URL>

Arguments:
<ALIAS_OR_URL> Alias or URL (e.g. http://token@localhost:8383) of the ReductStore instance to use

Options:
-i, --ignore-ssl Ignore SSL certificate verification
-T, --timeout <SECONDS> Timeout for requests [default: 30]
-p, --parallel <COUNT> Number of parallel requests [default: 10]
-h, --help Print help

show

Show token details

Arguments

Options

  • -i, --ignore-ssl: Ignore SSL certificate verification
  • -T, --timeout <SECONDS>: Timeout for requests [default: 30]
  • -p, --parallel <COUNT>: Number of parallel requests [default: 10]
  • -h, --help: Print help

Help Output

Show token details

Usage: reduct-cli token show [OPTIONS] <TOKEN_PATH>

Arguments:
<TOKEN_PATH> Path to a resource to use (e.g. SERVER_ALIAS/<RESOURCE_NAME> or http://token@localhost:8383/RESOURCE_NAME)

Options:
-i, --ignore-ssl Ignore SSL certificate verification
-T, --timeout <SECONDS> Timeout for requests [default: 30]
-p, --parallel <COUNT> Number of parallel requests [default: 10]
-h, --help Print help

rm

Remove an access token

Arguments

Options

  • -i, --ignore-ssl: Ignore SSL certificate verification
  • -y, --yes: Do not ask for confirmation
  • -T, --timeout <SECONDS>: Timeout for requests [default: 30]
  • -p, --parallel <COUNT>: Number of parallel requests [default: 10]
  • -h, --help: Print help

Help Output

Remove an access token

Usage: reduct-cli token rm [OPTIONS] <TOKEN_PATH>

Arguments:
<TOKEN_PATH> Path to a resource to use (e.g. SERVER_ALIAS/<RESOURCE_NAME> or http://token@localhost:8383/RESOURCE_NAME)

Options:
-i, --ignore-ssl Ignore SSL certificate verification
-y, --yes Do not ask for confirmation
-T, --timeout <SECONDS> Timeout for requests [default: 30]
-p, --parallel <COUNT> Number of parallel requests [default: 10]
-h, --help Print help