Merge pull request #1713 from influxdata/edit-auth-create-flags
Edit `influx auth create` docs to clarify permissionspull/1714/head
commit
cb3cc221fe
|
@ -17,17 +17,17 @@ influx auth create [flags]
|
|||
|
||||
## Flags
|
||||
| Flag | | Description | Input type | {{< cli/mapped >}} |
|
||||
|:---- |:--- |:----------- |:----------: |:------------------ |
|
||||
|:-----|:---------------------|:----------------------------------------------------------------------|:-----------:|:----------------------|
|
||||
| `-c` | `--active-config` | CLI configuration to use for command | string | |
|
||||
| | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string |`INFLUX_CONFIGS_PATH` |
|
||||
| | `--configs-path` | Path to `influx` CLI configurations (default `~/.influxdbv2/configs`) | string | `INFLUX_CONFIGS_PATH` |
|
||||
| `-h` | `--help` | Help for the `create` command | | |
|
||||
| | `--hide-headers` | Hide table headers (default `false`) | | `INFLUX_HIDE_HEADERS` |
|
||||
| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` |
|
||||
| | `--json` | Output data as JSON (default `false`) | | `INFLUX_OUTPUT_JSON` |
|
||||
| `-o` | `--org` | **(Required)** Organization name | string | `INFLUX_ORG` |
|
||||
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
|
||||
| | `--read-bucket` | Bucket ID | stringArray | |
|
||||
| | `--read-buckets` | Grants permission to read organization buckets | | |
|
||||
| | `--read-bucket` | Grants permission to read specified bucket IDs | stringArray | |
|
||||
| | `--read-buckets` | Grants permission to read **all** organization buckets | | |
|
||||
| | `--read-dashboards` | Grants permission to read dashboards | | |
|
||||
| | `--read-orgs` | Grants permission to read organizations | | |
|
||||
| | `--read-tasks` | Grants permission to read tasks | | |
|
||||
|
@ -36,8 +36,8 @@ influx auth create [flags]
|
|||
| | `--skip-verify` | Skip TLS certificate verification | | |
|
||||
| `-t` | `--token` | Authentication token | string | `INFLUX_TOKEN` |
|
||||
| `-u` | `--user` | Username | string | |
|
||||
| | `--write-bucket` | Bucket ID | stringArray | |
|
||||
| | `--write-buckets` | Grants permission to create and update organization buckets | | |
|
||||
| | `--write-bucket` | Grants permission to write to specified bucket IDs | stringArray | |
|
||||
| | `--write-buckets` | Grants permission to create and update **all** organization buckets | | |
|
||||
| | `--write-dashboards` | Grants permission to create and update dashboards | | |
|
||||
| | `--write-orgs` | Grants permission to create and update organizations | | |
|
||||
| | `--write-tasks` | Grants permission to create and update tasks | | |
|
||||
|
|
Loading…
Reference in New Issue