Download the PHP package nawasara/vault without Composer
On this page you can find all versions of the php package nawasara/vault. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nawasara/vault
More information about nawasara/vault
Files in nawasara/vault
Package vault
Short Description Encrypted credential management for the Nawasara superapp framework — service groups, multi-instance support, access log, and one-click test connection.
License MIT
Informations about the package vault
Nawasara Vault
Encrypted credential management for the Nawasara superapp framework. Every service package (Cloudflare, WHM, Keycloak, SMTP, and so on) reads its credentials from this single place at runtime, rotates them without a redeploy, and gets a full access log for audit.
Features
- Service groups: declarative group-of-fields registration via
config/nawasara-vault.php. Each service contributes its own group with the fields it needs (host, token, password, etc.) - Multi-instance: set
multi_instance => trueon a group to manage many credential sets per service, such as multiple WHM servers or multiple Cloudflare accounts - Optional fields:
optional => trueon a field exempts it from the "complete" check, so the group can still be marked configured without it - Field types:
text,password,select,textarea(multi-line, useful for PEM keys) - Encryption at rest: values are stored encrypted via Laravel's built-in encrypter and decrypted on read
- Access log: every read, write, or delete of a credential is recorded with user, action, and timestamp
- One-click test connection: declare
'test' => Service@methodon a group and the credential dropdown shows a Test Connection button that calls your handler and surfaces the result as a toast
Installation
Auto-discovered. The Vault facade is registered as an alias.
Declaring a service group
Reading credentials at runtime
Test connection contract
A group's test handler receives ?string $instance = null and should return:
The credential UI calls the handler and shows the message as a green or red toast.
Pages
| Route | Permission |
|---|---|
/nawasara-vault/credentials |
vault.credential.view |
/nawasara-vault/access-logs |
vault.access-log.view |
Permissions
| Permission | Description |
|---|---|
vault.credential.view |
View credential list and individual fields |
vault.credential.manage |
Create, edit, and delete credentials and instances |
vault.credential.reveal |
Reveal a masked credential value |
vault.access-log.view |
View the access log |
Author
Pringgo J. Saputro <[email protected]>
License
MIT
All versions of vault with dependencies
illuminate/support Version ^10.0|^12.0
spatie/laravel-permission Version ^6.0
spatie/laravel-activitylog Version ^4.9
nawasara/auth-primitives Version *
nawasara/ui Version *
livewire/livewire Version ^3.0
league/flysystem-aws-s3-v3 Version ^3.0