@@ -33,6 +33,8 @@ Usage: om [options] <command> [<args>]
3333 -v, --version bool prints the om release version (default: false)
3434 -h, --help bool prints this usage information (default: false)
3535 -t, --target string location of the Ops Manager VM
36+ -c, --client-id string Client ID for the Ops Manager VM (not required for unauthenticated commands)
37+ -s, --client-secret string Client Secret for the Ops Manager VM (not required for unauthenticated commands)
3638 -u, --username string admin username for the Ops Manager VM (not required for unauthenticated commands)
3739 -p, --password string admin password for the Ops Manager VM (not required for unauthenticated commands)
3840 -k, --skip-ssl-validation bool skip ssl certificate validation during http requests (default: false)
@@ -58,24 +60,3 @@ Commands:
5860 version prints the om release version
5961
6062```
61- ## Authentication
62- OM will by preference use Client ID and Client Secret if provided. To create a Client ID and Client Secret
63-
64- 1 . ` uaac target https://YOUR_OPSMANAGER/uaa `
65- 1 . ` uaac token sso get ` if using SAML or ` uaac token owner get ` if using internal auth
66- 1 . Generate a client ID and secret
67- ```
68- uaac client add -i
69- Client ID: NEW_CLIENT_NAME
70- New client secret: DESIRED_PASSWORD
71- Verify new client secret: DESIRED_PASSWORD
72- scope (list): opsman.admin
73- authorized grant types (list): client_credentials
74- authorities (list): opsman.admin
75- access token validity (seconds): 43200
76- refresh token validity (seconds): 43200
77- redirect uri (list):
78- autoapprove (list):
79- signup redirect url (url):
80- ```
81-
0 commit comments