mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
1.3 KiB
1.3 KiB
Read this on the main serverless docs site
Setup
This plugin helps you with the setup of your AWS profiles.
serverless setup --provider provider --key key --secret secret
Options
--provideror-pThe provider (in this caseaws). Required.--keyor-kTheaws_access_key_id. Required.--secretor-sTheaws_secret_access_key. Required.--profileor-nThe name of the profile which should be created.
Provided lifecycle events
setup:setup
Examples
Setup the default profile
serverless setup --provider aws --key 1234 --secret 5678
This example will setup the default profile with the aws_access_key_id of 1234 and the aws_secret_access_key of 5678.
Setup a custom profile
serverless setup --provider aws --key 1234 --secret 5678 --profile custom-profile
This example create and setup a custom-profile profile with the aws_access_key_id of 1234 and the aws_secret_access_key of 5678.