Session log: GuruRMM audit, installer system, infrastructure fixes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -8,11 +8,12 @@ Tests the newly created admin user credentials and verifies API access.
|
||||
import requests
|
||||
import json
|
||||
from datetime import datetime
|
||||
from vault_utils import vault_get
|
||||
|
||||
# Configuration
|
||||
# Configuration - credentials from SOPS vault
|
||||
API_BASE_URL = "http://172.16.3.30:3001"
|
||||
EMAIL = "claude-api@azcomputerguru.com"
|
||||
PASSWORD = "ClaudeAPI2026!@#"
|
||||
EMAIL = vault_get("infrastructure/gururmm-server.sops.yaml", "credentials.gururmm-api.admin-email")
|
||||
PASSWORD = vault_get("infrastructure/gururmm-server.sops.yaml", "credentials.gururmm-api.admin-password")
|
||||
|
||||
def print_header(title):
|
||||
"""Print a formatted header."""
|
||||
@@ -133,7 +134,7 @@ def main():
|
||||
print_header("All Tests Passed!")
|
||||
print("API Credentials:")
|
||||
print(f" Email: {EMAIL}")
|
||||
print(f" Password: {PASSWORD}")
|
||||
print(f" Password: ********** (from vault)")
|
||||
print(f" Base URL: {API_BASE_URL}")
|
||||
print(f" Production URL: https://rmm-api.azcomputerguru.com")
|
||||
print("\nStatus: READY FOR INTEGRATION")
|
||||
|
||||
Reference in New Issue
Block a user