Skip to main content
Guardian
Docs
ChangelogFAQContact
Download
Guardian

Release-driven governance platform for engineering teams. Maintain code quality and security at scale.

Product

  • Changelog
  • Docs
  • FAQ
  • Contact

Resources

  • Getting Started
  • Security
  • Configuration
  • Guru AI
  • Monitoring

Legal

  • Privacy Policy

© 2026 Guardian Project. All rights reserved.

Designed & Developed bySenol Dogan

Authentication | Guardian

Sections

Features

Guru: AI AssistantProject MonitoringReviews & Fix Proposals

General

Getting Started

Operations

InstallationAuthentication
UpdatesConfigurationMigration Guide

Security

Security

Support

Troubleshooting
Documentation

Authentication

Configure AI providers, manage API keys, and secure credential storage.

Overview

Guardian uses GitHub device authorization to unlock monitoring. AI providers are configured separately in Settings.

Supported Providers

Guardian supports multiple AI providers for code analysis:

ProviderDescriptionBest For
OllamaLocal or self-hosted modelsPrivacy-focused, offline use
OpenAIHosted modelsGeneral purpose, fast responses
AnthropicHosted modelsDeep code analysis, security review
Google GeminiHosted modelsHigh speed, multimodal
GitHub ModelsGitHub-hosted modelsManaged infrastructure

GitHub Sign-In

  1. Click Sign In with GitHub when prompted.
  2. Follow the device authorization flow in your browser.
  3. Return to Guardian and click Check Now if needed.

Provider Setup

Follow the steps below to configure your AI provider.

Step 1: Obtain API Keys

  1. OpenAI: Visit platform.openai.com
  2. Anthropic: Visit console.anthropic.com
  3. Google: Visit aistudio.google.com
  4. GitHub Models: Generate a fine-grained GitHub token with models:read permission (see the in-app Settings note).
  5. Ollama: No API key required for local installation

Step 2: Configure in Guardian

Open Settings (gear icon) and configure your provider:

  1. Select your preferred Provider from the dropdown
  2. Enter your API Key (if required)
  3. Choose a Model from the available options
  4. Click Save to apply

Step 3: Validate Connection

The app will automatically validate your credentials when you start monitoring or use Guru.

Credential Storage

Guardian uses platform-native secure storage:

PlatformStorage MethodEncryption
macOSKeychainOS-managed

Security Note: API keys are never stored in plain text files or exposed in logs.

Ollama Configuration

For local AI models using Ollama:

Local Setup

  1. Install Ollama from ollama.com
  2. Pull a model: ollama pull llama3.2
  3. In Guardian, select Ollama provider
  4. Set Base URL to http://localhost:11434 (Local) or your cloud endpoint

Cloud/Remote Setup

If you have a hosted Ollama instance:

  1. Select Ollama provider
  2. Choose "Cloud" from the Base URL dropdown or enter your custom endpoint

Rate Limit Management

Guardian automatically handles rate limits with exponential backoff. If you encounter rate limiting:

  • Wait a few moments and try again
  • Consider using a different provider temporarily

API Key Rotation

Regularly rotate your API keys for security:

  1. Generate new key from provider dashboard
  2. Update in Guardian Settings
  3. Test by using Guru or starting monitoring
  4. Revoke old key from provider dashboard

Troubleshooting

Common Issues

ErrorCauseSolution
"Invalid API Key"Incorrect or expired keyVerify key in provider dashboard
"Rate Limited"Too many requestsWait and try again
"Network Error"Connectivity issueCheck firewall/proxy settings
"Model Not Found"Invalid model nameUpdate to supported model

Reset Credentials

To clear stored credentials:

  1. Open Settings
  2. Click "Clear" next to the API Key field
  3. Re-enter new credentials

Best Practices

  1. Use Separate Keys: One key per environment (dev, staging, prod)
  2. Monitor Usage: Check provider dashboards for usage
  3. Rotate Quarterly: Change keys every 3 months
  4. Limit Scope: Use provider's API key restrictions if available
  5. Never Commit: Keep keys out of version control

On This Page

OverviewSupported ProvidersGitHub Sign-InProvider SetupStep 1: Obtain API KeysStep 2: Configure in GuardianStep 3: Validate ConnectionCredential StorageOllama ConfigurationLocal SetupCloud/Remote SetupRate Limit ManagementAPI Key RotationTroubleshootingCommon IssuesReset CredentialsBest Practices