Table of Contents
Introduction
Hexel Secret Manager provides a secure way to store, retrieve, and manage sensitive information such as API keys, credentials, and configuration secrets. It supports both user and tenant scoped secrets, role-based access, and integration with third-party services.Setup
- Register an Account: Sign up via the Hexel Console or contact your admin for access.
- Obtain API Credentials: After registration, generate an API token from your profile or admin dashboard.
- Install Required Tools:
- For API usage: Any HTTP client (e.g., curl, Postman) or SDK if available.
- For dashboard: Use a modern web browser.
Authentication
All API requests require a Bearer token. Include it in theAuthorization header:
/api/v1/auth/login endpoint. See the Auth endpoints for details.
Basic Usage
Creating a Secret
To create a user secret:Retrieving a Secret
To get a secret by ID:Updating a Secret
To update a secret:Deleting a Secret
To delete a secret:Best Practices
- Rotate secrets regularly to minimize risk.
- Use tenant secrets for shared resources, user secrets for personal credentials.
- Restrict access using roles and permissions.
- Never share tokens or secrets in plaintext.
- Audit usage via the dashboard or API logs.
Troubleshooting
- 401 Unauthorized: Check your token and ensure it is not expired.
- 403 Forbidden: You may lack the required role or permission.
- 404 Not Found: The secret or resource does not exist or you lack access.
- Other issues: Refer to the API Reference or contact support at support@hexelstudio.com.