parameters: (self,
                                   realm_name: Optional[str] = None,
                                   endpoints: Optional[str] = None,
                                   sys_uid: Optional[str] = None)
return_statement: return HandleCommandResult(retval=retval, stdout=out, stderr=err)
docstring: Create credentials for new zone creation
docstring_summary: Create credentials for new zone creation
docstring_tokens: Create credentials for new zone creation
function: def _cmd_rgw_realm_new_zone_creds(self,
                                   realm_name: Optional[str] = None,
                                   endpoints: Optional[str] = None,
                                   sys_uid: Optional[str] = None):
          """Create credentials for new zone creation"""
  
          try:
              retval, out, err = RGWAM(self.env).realm_new_zone_creds(realm_name, endpoints, sys_uid)
          except RGWAMException as e:
              self.log.error('cmd run exception: (%d) %s' % (e.retcode, e.message))
              return (e.retcode, e.message, e.stderr)
  
          return HandleCommandResult(retval=retval, stdout=out, stderr=err)
function_tokens: def _cmd_rgw_realm_new_zone_creds ( self , realm_name : Optional [ str ] = None , endpoints : Optional [ str ] = None , sys_uid : Optional [ str ] = None ) : try : retval , out , err = RGWAM ( self . env ) . realm_new_zone_creds ( realm_name , endpoints , sys_uid ) except RGWAMException as e : self . log . error ( 'cmd run exception: (%d) %s' % ( e . retcode , e . message ) ) return ( e . retcode , e . message , e . stderr ) return HandleCommandResult ( retval = retval , stdout = out , stderr = err )