AccessDenied error for PutObject operation for ONTAP S3 multiprotocol
Applies to
- ONTAP 9.12.1+
- S3 multiprotocol
- AWS CLI
Issue
The following error is given in
AWS
cli:>aws s3 cp testfile s3://test-bucket --endpoint-url https://ontaps3.com --no-verify-ssl
urllib3/connectionpool.py:1045: InsecureRequestWarning: Unverified HTTPS request is being made to host 'ontaps3.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1....l#ssl-warnings
upload failed: ./testfile to s3://test-bucket/testfile An error occurred (AccessDenied) when calling the PutObject operation: Access Denied