acl/auth-methods.mdx

Update partition partials to be generic
pull/21374/head
Aimee Ukasick 2024-06-24 15:36:33 -05:00
parent 2daf499c7b
commit 4b62cccffa
3 changed files with 15 additions and 8 deletions

View File

@ -107,6 +107,8 @@ The corresponding CLI command is [`consul acl auth-method create`](/consul/comma
prefixed-${serviceaccount.name}
```
@include 'http-api-body-options-partition.mdx'
### Sample Payload
```json
@ -175,9 +177,11 @@ The corresponding CLI command is [`consul acl auth-method read`](/consul/command
### Query Parameters
- `ns` `(string: "")` <EnterpriseAlert inline /> - Specifies the namespace of the auth method you lookup.
- `ns` `(string: "")` <EnterpriseAlert inline /> - Specifies the namespace of the auth method you look up.
You can also [specify the namespace through other methods](#methods-to-specify-namespace).
@include 'http-api-query-parms-partition.mdx'
### Sample Request
```shell-session
@ -291,9 +295,11 @@ The corresponding CLI command is [`consul acl auth-method update`](/consul/comma
same values that are usable by the `Selector` syntax. For example:
```text
prefixed-${serviceaccount.name}
prefixed-${serviceaccount.name}
```
@include 'http-api-body-options-partition.mdx'
### Sample Payload
```json
@ -369,6 +375,8 @@ The corresponding CLI command is [`consul acl auth-method delete`](/consul/comma
- `ns` `(string: "")` <EnterpriseAlert inline /> - Specifies the namespace of the auth method you delete.
You can also [specify the namespace through other methods](#methods-to-specify-namespace).
@include 'http-api-query-parms-partition.mdx'
### Sample Request
```shell-session
@ -408,8 +416,9 @@ The corresponding CLI command is [`consul acl auth-method list`](/consul/command
The namespace may be specified as '\*' to return results for all namespaces.
You can also [specify the namespace through other methods](#methods-to-specify-namespace).
The namespace may be specified as '\*' and then
results will be returned for all namespaces.
The namespace may be specified as '\*' and then results are returned for all namespaces.
@include 'http-api-query-parms-partition.mdx'
## Sample Request

View File

@ -1,3 +1,2 @@
- `Partition` `(string: "")` - <EnterpriseAlert inline /> The admin partition that the
peering token is generated from. Uses `default` when not specified.
- `Partition` `(string: "")` - <EnterpriseAlert inline /> The partition to use. When not specified, uses `default`.

View File

@ -1,2 +1 @@
- `partition` `(string: "")` <EnterpriseAlert inline /> - Specifies the partition of the peering
to read. If not specified, defaults to `default`.
- `partition` `(string: "")` <EnterpriseAlert inline /> - The partition to use. When not specified, uses `default`.