Antonenko Alexander created AMBARI-22699:
--------------------------------------------
Summary: Update FE to initiate regenerate keytab file operations
for a service and a host
Key: AMBARI-22699
URL: https://issues.apache.org/jira/browse/AMBARI-22699
Project: Ambari
Issue Type: Bug
Reporter: Antonenko Alexander
Update FE to initiate regenerate keytab file operations for a service and a
host.
An option needs to be added to the Actions menu of a service to regenerate all
keytab file for that service. The Ambari REST API call to initiate this is:
{code}
PUT
/api/v1/clusters/CLUSTERNAME?regenerate_keytabs=all®enerate_components=SERVICENAME:*
{
"Clusters": {
"security_type" : "KERBEROS"
}
}
{code}
NOTE: CLUSTERNAME and SERVICENAME need to be replaced with the appropriate
values.
An option needs to be added to the Host Actions menu of a host to regenerate
all keytab file for that host. The Ambari REST API call to initiate this is:
{code}
PUT
/api/v1/clusters/CLUSTERNAME?regenerate_keytabs=all®enerate_hosts=HOSTNAME:*
{
"Clusters": {
"security_type" : "KERBEROS"
}
}
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)