Details
-
Task
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.7.0
Description
To enable or disable SSO using the Ambari CLI, the user needs to answer each prompt. This is not convenient for automated tools. So the following command line options should be available for use. If any mandatory option is not specified via the command line, the user should be prompted for a value.
Global SSO options:
- --sso-enabled
if sso-enabled is "true":
- --sso-provider-url
- --sso-public-cert-file
- --sso-jwt-cookie-name
- optional, if not supplied, the documented default value will be used
- --sso-jwt-audience-list
- optional, if not supplied, the documented default value will be used
Examples
ambari-server setup-sso --help ambari-server setup-sso --sso-enabled=true --sso-provider-url=https://knox.ambari.apache.org:8443 --sso-public-cert-file=/tmp/sso.pem ambari-server setup-sso --sso-enabled=true --sso-provider-url=https://knox.ambari.apache.org:8443 --sso-public-cert-file=/tmp/sso.pem --sso-jwt-cookie-name=ambari-jtw ambari-server setup-sso --sso-enabled=true --sso-provider-url=https://knox.ambari.apache.org:8443 --sso-public-cert-file=/tmp/sso.pem --sso-jwt-cookie-name=ambari-jtw --sso-jwt-audience-list=ambari ambari-server setup-sso --sso-enabled=true --sso-provider-url=https://knox.ambari.apache.org:8443 --sso-public-cert-file=/tmp/sso.pem ambari-server setup-sso --sso-enabled=false
Attachments
Issue Links
- links to