Aws-cli container not able to connect to S3 bucket in RHOCP 4

Solution Verified - Updated -

Issue

  • When cronjob set for etcd backup automation and store it on AWS S3 bucket, observed below error
    An HTTP Client raised an unhandled exception: Invalid header value Credentials \n
  • Error while aws-cli container accessing S3 bucket using secret created to access S3 bucket.

Environment

  • Red Hat Openshift Container Platform
    • 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content