Skip to content

Commit

Permalink
Automatically updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bot committed Mar 8, 2017
1 parent ca3a473 commit f09b30c
Showing 1 changed file with 2 additions and 21 deletions.
23 changes: 2 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ Usage: om [options] <command> [<args>]
-v, --version bool prints the om release version (default: false)
-h, --help bool prints this usage information (default: false)
-t, --target string location of the Ops Manager VM
-c, --client-id string Client ID for the Ops Manager VM (not required for unauthenticated commands)
-s, --client-secret string Client Secret for the Ops Manager VM (not required for unauthenticated commands)
-u, --username string admin username for the Ops Manager VM (not required for unauthenticated commands)
-p, --password string admin password for the Ops Manager VM (not required for unauthenticated commands)
-k, --skip-ssl-validation bool skip ssl certificate validation during http requests (default: false)
Expand All @@ -58,24 +60,3 @@ Commands:
version prints the om release version
```
## Authentication
OM will by preference use Client ID and Client Secret if provided. To create a Client ID and Client Secret

1. `uaac target https://YOUR_OPSMANAGER/uaa`
1. `uaac token sso get` if using SAML or `uaac token owner get` if using internal auth
1. Generate a client ID and secret
```
uaac client add -i
Client ID: NEW_CLIENT_NAME
New client secret: DESIRED_PASSWORD
Verify new client secret: DESIRED_PASSWORD
scope (list): opsman.admin
authorized grant types (list): client_credentials
authorities (list): opsman.admin
access token validity (seconds): 43200
refresh token validity (seconds): 43200
redirect uri (list):
autoapprove (list):
signup redirect url (url):
```

0 comments on commit f09b30c

Please sign in to comment.