Managing Credentials
Selu stores credentials — API keys, tokens, and other secrets your agents need — in an encrypted store. You manage them in two places depending on what they’re for.
Agent secrets
Section titled “Agent secrets”Secrets that agents need to call external services (like a weather API key or a search service token) are managed on each agent’s Secrets tab.
- Go to Agents in the sidebar
- Click any agent’s name to open its detail page
- Select the Secrets tab
- Find the credential you want to set — each one shows a description explaining what it’s for and where to get it
- Type the value into the field and click Save
Each secret shows whether it’s currently set or missing, and when it was last updated.
Credential scopes
Section titled “Credential scopes”- Shared (system) — One value used by all users. Only admins can set these. Good for organizational API keys.
- Personal (user) — Each person provides their own value. Good for personal accounts or services where everyone has their own login.
Pairing the mobile app
Section titled “Pairing the mobile app”The Settings page also lets you pair the Selu mobile app with your account using a short-lived one-time code.
- Open Settings from the sidebar.
- Find the Mobile app card and click Pair a phone.
- Click Create pairing code.
- A QR code appears — scan it with your phone’s camera in the Selu app. A one-time code and your Selu address are also shown as text so you can enter them manually if scanning doesn’t work.
- The code expires after five minutes. If it runs out, click Create another code to generate a fresh one.
Generating a new code automatically cancels any previous pairing attempt that hasn’t been used yet.
Changing your password
Section titled “Changing your password”From the app
Section titled “From the app”Any logged-in user can change their own password directly in the app:
- Open the Settings page (accessible from the sidebar or navigation menu)
- Find the Security section and click Change password
- Enter your current password
- Enter and confirm your new password
- Click Save
After a successful password change, Selu signs out your other active sessions automatically. Your current session stays active so you don’t lose your place.
Admin password reset (CLI)
Section titled “Admin password reset (CLI)”If a user forgets their password and can’t log in, an administrator can reset it using the orchestrator’s command-line tool. This requires access to the server where Selu is running.
echo 'new-password-here' | selu-orchestrator reset-password --username alice --password-stdinThe command:
- Reads the new password from standard input
- Hashes it securely with Argon2id
- Updates the user’s stored password
- Revokes all of that user’s active web sessions
The user can then sign in with the new password.
How Selu stores secrets
Section titled “How Selu stores secrets”All secrets — API keys, tokens, passwords — are encrypted using AES-256-GCM before being written to the database. The encryption key is set via the SELU_SECRET_KEY environment variable when you set up Selu.