Automate PowerShell script for download files from S3

0

Hi, I want to create PowerShell script for automate download files from S3. The problem is with the credentials that I want to use to connect to AWS. I had been trying use "aws configure sso" but the problem is that I received this message "Error when retrieving token from sso: Token has expired and refresh failed". I has been looking for any solution on internet but I didn't see any that help me.

Regards!

JMCR09
asked 8 months ago1038 views
1 Answer
0
  1. Install AWS Cli tool in windows, following this content.
  2. Authorize your command line tool into aws.
  3. Build your script. You are ready to go.
profile picture
answered 8 months ago
  • Hi, thanks for answer. Just for have more context. Why if I "authorize my command line tool into aws" works for solving the error "Error when retrieving token from sso: Token has expired and refresh failed"?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions