aio-internal-login
v1.0.10
Published
CLI tool for Adobe IMS login using App Builder function
Downloads
422
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 (the namespace suffix) is one of (default: dev):
dev- namespace suffixed-devstage- namespace suffixed-stageprod- no suffix
Use --ims-env <stage|prod> (default prod) to choose the IMS landscape the CLI authenticates against — independent of the namespace suffix.
Examples:
# Default (dev)
aio-internal-login
# Development
aio-internal-login dev
# Production
aio-internal-login prodThis will:
- Sign you in to Adobe IMS via
aio auth loginif you aren't already (used to look up your cost center; requires VPN) - Open a browser for the login flow and 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://next-adobeioruntime.net
AIO_RUNTIME_NAMESPACE=0123456-a1b2c3d4
AIO_RUNTIME_AUTH=<uuid>:<key>AIO_RUNTIME_APIHOST— the FaaSt runtime host.AIO_RUNTIME_NAMESPACE— your assigned runtime namespace.AIO_RUNTIME_AUTH— your runtime auth credential, auuid:keypair (not an API key).
License
Apache-2.0
