-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* updated example text * pr comments * updated example text * pr comments
- Loading branch information
Showing
4 changed files
with
45 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
test/fixtures/output/iam/rbac/role-binding/create-help-cloud.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Create a role binding. | ||
|
||
Usage: | ||
confluent iam rbac role-binding create [flags] | ||
|
||
Examples: | ||
Create a role binding for the principal permitting it produce to the "users" topic. | ||
|
||
$ confluent iam rbac role-binding create --principal User:u-ab1234 --role DeveloperWrite --resource Topic:users --cloud-cluster lkc-ab123 --environment env-abcde | ||
|
||
Flags: | ||
--role string REQUIRED: Role name of the new role binding. | ||
--principal string REQUIRED: Qualified principal name for the role binding. | ||
--cloud-cluster string Cloud cluster ID for the role binding. | ||
--environment string Environment ID for scope of role-binding create. | ||
--current-env Use current environment ID for scope. | ||
--prefix Whether the provided resource name is treated as a prefix pattern. | ||
--resource string Qualified resource name for the role binding. | ||
--kafka-cluster-id string Kafka cluster ID for the role binding. | ||
-o, --output string Specify the output format as "human", "json", or "yaml". (default "human") | ||
|
||
Global Flags: | ||
-h, --help Show help for this command. | ||
-v, --verbose count Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters