public interface ClouderaManagerResourceV7 extends ClouderaManagerResourceV6
Modifier and Type | Method and Description |
---|---|
ApiPrincipalList |
getKerberosPrincipals(boolean missingOnly)
Returns the Kerberos principals needed by the services being managed
by Cloudera Manager.
|
ApiCommand |
importAdminCredentials(String username,
String password)
Imports the KDC Account Manager credentials needed by Cloudera
Manager to create kerberos principals needed by CDH services.
|
ApiCommand |
importKerberosPrincipal(String principal,
String password,
Long kvno)
Imports the Kerberos credentials for the specified principal
which can then be used to add to a role's keytab by running
Generate Credentials command.
|
beginTrial, endTrial, getLicensedFeatureUsage, getMgmtServiceResource, hostInstallCommand
getAllHostsResource, getCmPeersResource
getDeployment, hostsDecommissionCommand, hostsRecommissionCommand, hostsStartRolesCommand, updateDeployment
collectDiagnosticDataCommand, generateCredentialsCommand, getConfig, getLog, getVersion, inspectHostsCommand, listActiveCommands, readLicense, updateConfig, updateLicense
@Path(value="/commands/importAdminCredentials") ApiCommand importAdminCredentials(String username, String password)
username
- Username of the Account Manager. Full name including the Kerberos
realm must be specified.password
- Password for the Account Manager.
return Information about the submitted command.@Path(value="/commands/importKerberosPrincipal") ApiCommand importKerberosPrincipal(String principal, String password, Long kvno)
principal
- Name of the principal. Full name including the Kerberos
realm must be specified. If it already exists, it will be overwritten.password
- Password for the Kerberos principal. Cloudera Manager
will encrypt the principal and password and use it when needed for a daemon.kvno
- Key-version number of the password.
return Information about the submitted command.@Path(value="/kerberosPrincipals") ApiPrincipalList getKerberosPrincipals(boolean missingOnly)
missingOnly
- Whether to include only those principals which do
not already exist in Cloudera Manager's database.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.