I have read a documentation but usage of temporary credentials is unclear to me. Ok I logined to aws console and create some role.
You don't have to do anything in your serverless.yml file. When you run sls deploy the Serverless Framework will identify the deployment profile associated with the application or stage and it will generate the AWS Access Keys using the associated AWS Access Role automatically.
How serverless framework kowns where to get credentials? What Account to use? It looks like serverless can connected to any account with any credentials just with usage of developer mind. :)
P.S. I do not have hands off knoledge about AWS Access Role
if it have some specifics please clarify this.