UNPKG

serverless

Version:

Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more

40 lines (26 loc) 1.06 kB
<!-- title: Serverless Framework Commands - Apache OpenWhisk - Config Credentials menuText: config credentials menuOrder: 1 description: Configure Serverless credentials layout: Doc --> <!-- DOCS-SITE-LINK:START automatically generated --> ### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/openwhisk/cli-reference/config-credentials) <!-- DOCS-SITE-LINK:END --> # OpenWhisk - Config Credentials ```bash serverless config credentials --provider provider --apihost apihost --auth auth ``` ## Options - `--provider` or `-p` The provider (in this case `openwhisk`). **Required**. - `--apihost` or `-h` The `openwhisk_apihost`. **Required**. - `--auth` or `-a` The `openwhisk_auth`. **Required**. ## Provided lifecycle events - `config:credentials:config` ## Examples ### Configure the default profile ```bash serverless config credentials --provider openwhisk --apihost openwhisk.ng.bluemix.net --auth username:password ``` Credentials are stored in `~/.wskprops`, which you can edit directly if needed.