title: Firebase Database Rules: Checking for service account credentials
body: <p>if I have a service account set up and am initializing the app in a firebase function with the service account credentials to do some database maintenance work, how can I restrict the rules in the database so that only the service account is able to access that path in the database, how can I go about it?</p>
  <p>The only available options in the auth object appear to be token, uid, and provider.</p>
  <p>The only fields available in the service account json file are:
  {
  &quot;type&quot;: &quot;service_account&quot;,
  &quot;project_id&quot;:
  &quot;private_key_id&quot;:
  &quot;private_key&quot;:
  &quot;client_email&quot;:
  &quot;client_id&quot;:
  &quot;auth_uri&quot;:
  &quot;token_uri&quot;
  &quot;auth_provider_x509_cert_url&quot;
  &quot;client_x509_cert_url&quot;
  }</p>