#artisanenvencrypt β Public Fediverse posts
Live and recent posts from across the Fediverse tagged #artisanenvencrypt, aggregated by home.social.
-
Using #1Password for #Laravel Environment Variables:
π Enhances #security and access control for secret management in #Laravel projects
π #1Password CLI allows Git-compatible .env file management, unlike #artisanenvencrypt or #gitsecret
π₯ Supports granular user access across different environments (#staging, #production)
π Single template approach for multiple environments using $APP_ENV variable
βοΈ Easy integration with #deployment processes (e.g., #LaravelEnvoy, #GitHubActions)
π§ #JetBrains and #VSCode plugins available for seamless development workflowKey steps:
Create separate 1Password entries or vaults for each environment
Use 'op inject' command to generate .env files from templates
Implement service accounts for secure server-side secret access
Integrate 1Password CLI into deployment scripts or CI/CD pipelinesThis approach offers a balance of security, flexibility, and ease of use for managing environment variables in Laravel applications.
https://flareapp.io/blog/using-1password-for-laravel-environment-variables