aio-internal-login
v1.0.7
Published
CLI tool for Adobe IMS login using App Builder function
Readme
aio-internal-login
App Builder login for Adobe developers
Installation
You can run this tool directly without installation using npx:
npx aio-internal-loginOr you can install it globally:
npm install -g aio-internal-loginUsage
Run the command and follow the browser-based login flow:
aio-internal-login [environment]Where environment is one of:
local(default) - Uses localhost:9080 for developmentdev- Uses aio-internal-login.stage.adobeioruntime.netstage- Uses aio-internal-login.stage.adobeioruntime.netprod- Uses aio-internal-login.stage.adobeioruntime.net
Examples:
# Use local environment (default)
aio-internal-login
# Use development environment
aio-internal-login dev
# Use staging environment
aio-internal-login stageThis will:
- Open a browser for Adobe IMS login
- Authenticate you
- Create a
.envfile in your current directory with the required credentials
Environment Variables
After successful login, the tool will create a .env file with the following variables:
AIO_RUNTIME_APIHOST=https://stage.adobeioruntime.net
AIO_RUNTIME_NAMESPACE=your_namespace
AIO_RUNTIME_AUTH=your_api_keyLicense
Apache-2.0
