Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions rhoas-cli-kafka/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -161,15 +161,15 @@ which you can use to authenticate your application with your Kafka instance.
. Enter the following command to create a service account.
+
--
This example creates a service account called `my-service-acct` and saves the credentials in a JSON file.
This example creates a service account and saves the credentials in a JSON file.

.Creating a service account
[source,shell]
----
$ rhoas service-account create --name "my-service-acct" --file-format json
$ rhoas service-account create --file-format json --short-description="rhoas-service-account"

✔️ Service account "my-service-acct" created successfully with ID "04ba07d6-b08c-45fb-af53-3522c1b4c32f".
Credentials saved to /home/developer/my-project/credentials.json
✔️ Service account created successfully with ID "04ba07d6-b08c-45fb-af53-3522c1b4c32f".
✔️ Credentials saved to /home/developer/my-project/credentials.json
----

Your service account credentials are created and saved to a JSON file.
Expand Down
8 changes: 4 additions & 4 deletions rhoas-cli-service-registry/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -161,15 +161,15 @@ which you can use to authenticate your application with your Service Registry in
. Enter the following command to create a service account.
+
--
This example creates a service account called `my-service-acct` and saves the credentials in a JSON file.
This example creates a service account and saves the credentials in a JSON file.

.Creating a service account
[source,shell]
----
$ rhoas service-account create --name "my-service-acct" --file-format json
$ rhoas service-account create --short-description="rhoas-service-account" --file-format json

✔️ Service account "my-service-acct" created successfully with ID "04ba07d6-b08c-45fb-af53-3522c1b4c32f".
Credentials saved to /home/developer/my-project/credentials.json
✔️ Service account created successfully with ID "04ba07d6-b08c-45fb-af53-3522c1b4c32f".
✔️ Credentials saved to /home/developer/my-project/credentials.json
----

Your service account credentials are created and saved to a JSON file.
Expand Down