This guide walks you through creating an API key in Vidos and configuring appropriate permissions for your applications and services.
API keys enable your applications to authenticate with Vidos services securely. Follow these steps to create a new API key:
[!IMPORTANT] After creation, the API key is not visible again, even partially. Make sure to copy the full key immediately and store it in a secure location.
After creating your API key, you need to configure appropriate permissions by attaching policies:
Access to the resolver service
).Select policies based on the services your application needs to access:
Policy Name | Description | Use Case |
---|---|---|
resolver.read | Grants read-only access to the resolver service | Applications that need to resolve identifiers |
verifier.read | Grants read-only access to the verifier service | Applications that verify credentials |
validator.read | Grants read-only access to the validator service | Applications that validate data formats |
authorizer.read | Grants read-only access to the authorizer service | Applications that check permissions |
gateway.access | Grants access to the API gateway | Required for most applications |
Your API key is a security credential. Follow these best practices:
Issue | Solution |
---|---|
"Invalid API key" error | Verify the key is copied correctly and hasn't been revoked |
"Insufficient permissions" error | Check if the key has the correct policy assigned |
Key not working in production | Ensure environment variables are correctly set |
Unable to revoke a key | Verify you have admin permissions in the account |