code: def get_formatted_output_credentials_name(service_name, descriptor):
      """Gives a unique name for credentials for the given service + descriptor.
  
      Args:
          service_name (str): Service name on output class (i.e. "pagerduty", "demisto")
          descriptor (str): Service destination (ie: slack channel, pd integration)
  
      Returns:
          str: Formatted credential name (ie: slack/ryandchannel)
      """
      cred_name = str(service_name)
  
      # should descriptor be enforced in all rules?
      if descriptor:
          cred_name = "{}/{}".format(cred_name, descriptor)
  
      return cred_name
  
imports: import json
  import os
  import shutil
  import tempfile
  from abc import abstractmethod
  from botocore.exceptions import ClientError
  from streamalert.shared.helpers.aws_api_client import AwsKms, AwsSsm
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 1 for calling a global function with example usage: get_formatted_output_credentials_name(service_name, descriptor) and returns: cred_name