Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1.35 KB

load.md

File metadata and controls

23 lines (18 loc) · 1.35 KB
DOCS / AWSSEL / COMMAND

Load

This command load every environment variables defined for a given service.

Usage

awssel load [options]

Options

Name                                               Description Required Example
--service-name Service name Yes -
--prefix-path Prefix path from which env vars will be retieved
All env vars for a given service will be located under the path: <prefix-path>/<service-name>
Yes prefix-path = /os/prod/support/dsi/core

service-name = directory-service
--aws-region AWS Region Name Yes -
--filter-pattern The pattern that every env var name must match No To get all var names prefixed starting with OS_,
use this filter pattern --filter-pattern=OS_*
--output-format Output env vars to : default, json, yaml format No
--export Prefix output string with export statement.
It only works with output-format set default
No Output export NAME=VALUE
--aws-role AWS Role ARN.
Note that the role must have a right set of permission to actually request anything for AWS parameter store
No os-fake-role
--aws-profile AWS Profile Name No -