The auth command checks if you have read/write permission to access an S3 bucket
and its files.
Usage
s3Cli auth <s3_path> <access_type>
Argument
| Name | Required | Description |
|---|
s3_path | Yes | S3 bucket name and filename |
access_type | Yes | Check your Ranger read/write permission |
In the s3_path, don’t include prefixes such as s3://, s3a://, and s3n://.
Only specify the bucket name.
Global options
| Name | Shorthand | Data type | Description |
|---|
--help | -h | N/A | Show help message and exit |
--config | -c | String | Path to Hadoop’s core-site.xml file |
--jceks-dir | -j | String | Directory containing JCEKS files |
--ranger-classpath | -r | String | Path to Ranger’s JAR files |
--user | -u | String | Username for Ranger authorization |
--verbose | -v | N/A | Verbose logging |