Skip to content

Commit

Permalink
Update README.md to use config create (#336)
Browse files Browse the repository at this point in the history
Updated the example of initial configuration to use the recent `config create` command which also validates the credentials.
  • Loading branch information
pnickolov committed Apr 2, 2024
1 parent e37078a commit a19320b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,12 @@ For other shells, check out the completion help with `fsoc help completion`.
Configure the default profile to your tenant of choice (replace MYTENANT with your tenant's name):

```
fsoc config set auth=oauth url=https://MYTENANT.observe.appdynamics.com
fsoc login # test access
fsoc config create auth=oauth url=https://MYTENANT.observe.appdynamics.com
```

NOTE: The login command will pop up a browser to perform the log in and then continue executing the command. Subsequent invocations of fsoc will use cached credentials.
This command will create the initial `fsoc` configuration file and attempt to log in. Since this example uses OAuth authentication, the command will pop up a browser to perform the login and then continue executing the command. Subsequent invocations of fsoc will use cached credentials. You can close the browser once is shows "Logged in successfully".

Use the `fsoc help config set` command to see examples of the different authentication methods that `fsoc` supports in addition to OAuth (e.g., service principal, agent principal, local). You can find additional details in the `fsoc` [config page](https://developer.cisco.com/docs/cisco-observability-platform/#!install-and-configure-fsoc/configure-access) in the platform docs.
Use the `fsoc help config create` command to see examples of the different authentication methods that `fsoc` supports in addition to OAuth (e.g., service principal, agent principal, local). You can find additional details in the `fsoc` [config page](https://developer.cisco.com/docs/cisco-observability-platform/#!install-and-configure-fsoc/configure-access) in the platform docs.

## Assistance and Suggestions

Expand Down

0 comments on commit a19320b

Please sign in to comment.