eonx-com / easy-ssm
CLI tool to interact with AWS ParameterStore in a convenient way
Installs: 13 959
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^7.2
- aws/aws-sdk-php: ^3.134
- eonx-com/easy-aws-credentials-finder: ^3.0.19
- eonx-com/easy-random: ^3.0.19
- nette/utils: ^3.1
- symplify/autowire-array-parameter: ^8.3.41
- symplify/package-builder: ^8.3.41
Requires (Dev)
- phpunit/phpunit: ^8.4 || ^9.5
- symfony/dotenv: ^4.4 || ^5.1.5
- 3.x-dev
- dev-master / 3.1.x-dev
- 3.0.19
- 3.0.18
- 3.0.17
- 3.0.16
- 3.0.15
- 3.0.14
- 3.0.14-alpha3
- 3.0.14-alpha2
- 3.0.14-alpha1
- 3.0.13
- 3.0.12
- 3.0.11
- 3.0.10
- 3.0.9
- 3.0.8
- 3.0.7
- 3.0.6
- 3.0.5
- 3.0.5-alpha4
- 3.0.5-alpha3
- 3.0.5-alpha2
- 3.0.5-alpha1
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 3.0.0-alpha2
- 3.0.0-alpha1
- 2.5.33
- 2.5.32
- 2.5.31
- 2.5.30
- 2.5.29
- 2.5.28
- 2.5.27
- v2.5.26
- v2.5.25
- v2.5.24
- v2.5.23
- v2.5.22
- v2.5.21
- v2.5.20
- v2.5.19
- v2.5.18
- v2.5.17
- v2.5.16
- v2.5.15
- v2.5.14
- v2.5.13
- v2.5.12
- v2.5.11
- v2.5.10
- v2.5.9
- v2.5.8
- v2.5.7
- v2.5.6
- v2.5.5
- v2.5.4
- v2.5.3
- v2.5.2
- v2.5.1
- v2.5.0
- v2.4.49
- v2.4.48
- v2.4.47
- v2.4.46
- v2.4.45
- v2.4.44
- v2.4.43
- v2.4.42
- v2.4.41
- v2.4.40
- v2.4.39
- v2.4.38
- v2.4.37
- v2.4.36
- v2.4.35
- v2.4.34
- v2.4.33
- v2.4.32
- v2.4.31
- v2.4.30
- v2.4.29
- v2.4.28
- v2.4.27
- v2.4.26
- v2.4.25
- v2.4.24
- v2.4.23
- v2.4.22
- v2.4.21
- v2.4.20
- v2.4.19
- v2.4.18
- v2.4.17
- v2.4.16
- v2.4.15
- v2.4.14
- v2.4.13
- v2.4.12
- v2.4.11
- v2.4.10
- v2.4.9
- v2.4.8
- v2.4.7
- v2.4.6
- v2.4.5
- v2.4.4
- v2.4.3
- v2.4.2
- v2.4.1
- v2.4.0
- v2.3.17
- v2.3.16
- v2.3.15
- v2.3.14
- v2.3.13
- v2.3.12
- v2.3.11
- v2.3.10
- v2.3.9
- dev-feature/git-subtree-for-split-1
- dev-feature/git-subtree-for-split
- dev-feature/easy-async-refactor
- dev-3.x-split-test
- dev-feature/exception-to-status-code
- dev-feature/easy-request-id
- dev-feature/error-handler-framework-agnostic
- dev-feature/easy-bugsnag
- dev-integration/easy-api-token-and-easy-security
- dev-feature/easy-webhook-profiler
- dev-feature/refactory-easy-api-token
- dev-feature/search-in-easy-core
- dev-feature/easy-webhooks
- dev-feature/aws-sso-access-token
- dev-feature/aws-credentials-finder
- dev-feature/improve-data-persister-structure
- dev-feature/make-commands
- dev-feature/persister-route-paremeters-aware
- dev-feature/refactor-easy-security
- dev-hotfix/data-persister-decoration-priority
- dev-feature/improve-easy-ssm-console-export
- dev-whitesource/configure
This package is auto-updated.
Last update: 2021-04-16 12:00:33 UTC
README
---eonx_docs--- title: Introduction weight: 0 ---eonx_docs---
CLI tool to interact with AWS ParameterStore in a convenient way
Require package (Composer)
We recommend to use Composer to manage your dependencies. You can require this package as follows:
$ composer require eonx-com/easy-ssm
Commands
- apply: Apply local changes to remote AWS ParameterStore
- diff: Resolve diff between local parameters and AWS ParameterStore
- dump-envs: Dump env vars in a PHP file to improve loading time
- export-envs: Fetch parameters from AWS ParameterStore and output shell syntax to export them as env variables
- init: Initialise local parameters from AWS ParameterStore
- local-apply: Apply changes locally when "*_old" file has been generated
- local-diff: Resolve diff locally when "*_old" file has been generated
Dotenv integration
If working on a PHP project, you can use the Dotenv integration provided by this package to load your AWS ParameterStore parameters as env variables within PHP:
// bootstrap.php require_once __DIR__ . '/vendor/autoload.php'; // Will fetch parameters from AWS ParameterStore and export them as env vars (new \EonX\EasySsm\Dotenv\SsmDotenv())->loadEnv(); // Now your parameters from AWS ParameterStore are available in: $_ENV, $_SERVER and via \getenv()