userpoolGetToken()
Overview and basic usage
Prints tokens (id token, access token and refresh token) for the specified user in the specified userpool to the console.
- User's password and username are specified interactively using CLI.
Copy
import { Stacktape } from "stacktape";const stacktape = new Stacktape();stacktape.userpoolGetToken({password: "<<password>>",region: "<<region>>",stage: "<<stage>>",userPoolName: "<<userPoolName>>",username: "<<username>>"});
API reference
Arguments
password
Required
region
Required
stage
Required
userPoolName
Required
username
Required
awsAccount
config
configPath
currentWorkingDirectory
profile
projectName
templateId