Stacktape

Sign up



userpool:get-token

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

stacktape userpool:get-token --stage <<stage>> --region <<region>> --userPoolName <<userPoolName>> --tokenType <<tokenType>>

API reference

Options

region (--r)
Required
stage (--s)
Required
tokenType (--tt)
Required
userPoolName (--upn)
Required
awsAccount (--aa)
configPath (--cp)
currentWorkingDirectory (--cwd)
help (--h)
logFormat (--lf)
logLevel (--ll)
profile (--p)
projectName (--prj)
templateId (--ti)

Need help? Ask a question on Discord or info@stacktape.com.