The dxflow authentication system provides secure access to the web interface using RSA key-pair authentication, ensuring enterprise-grade security for all your workflow operations.
dxflow implements a sophisticated authentication system designed for security and ease of use:
RSA Key-Pair Authentication
Cryptographically Secure - No passwords to remember or compromise
Session Management
Flexible Sessions - Customizable session lifetime and management
Multi-User Support
Enterprise Ready - Support for multiple users and roles
Your private key is automatically generated when you first set up dxflow:
# List available keys
dxflow engine key list
Keys are stored in: ~/.dxflow/keys/
Navigate to your dxflow engine's web interface:
http://localhost (or your configured port)http://<your-server-ip>:<port>The web interface will guide you through the authentication process using your private key.
The authentication system uses a secure challenge-response protocol:
Step 1: Request Challenge
GET /api/auth/challenge/{
"identity": "your-key-identity",
"nonce": "random-challenge-string",
"lifetime": 300
}
Step 2: Sign and Verify
POST /api/auth/verify/{
"token": "jwt-authentication-token",
"expires": 1640995200
}
Step 3: Session Management
GET /api/auth/inspect/{
"authenticated": true,
"identity": "your-key-identity",
"permissions": ["SHELL", "OBJECT", "WORKFLOW"],
"expires": 1640995200
}
When you first install dxflow, keys are automatically generated:
For advanced key management:
Key Management Commands
# List all keys
dxflow engine key list
# Generate new key pair
dxflow engine key generate
# Register additional keys
dxflow engine key register <public-key-file>
# Remove keys
dxflow engine key unregister <key-identity>
Safeguard Your Keys
Key Backup Strategy
Security Monitoring
Configure session behavior to match your security requirements:
Session Duration
Flexible Timing
Session Persistence
Cross-Browser Support
Cannot locate private key:
dxflow engine key list.dxflow/keys/ directory existsAuthentication fails repeatedly:
dxflow engine key generateBrowser shows "Unauthorized" errors:
Session expires too quickly:
Cannot maintain session across tabs:
Frequent logouts:
Lost or corrupted keys:
dxflow engine key generatePermission denied errors:
dxflow engine key listMultiple key conflicts:
dxflow engine key unregister <identity>The dxflow authentication system provides enterprise-grade security while maintaining ease of use, ensuring your distributed computing environment remains secure and accessible to authorized users only.