S3 setup
Use the AWS profiles already on your Mac. Two permissions are enough to browse and read a bucket.
Credentials
Osprey Peek uses the AWS chain you already have: environment variables, ~/.aws profiles, or SSO. It never asks for, stores, or writes a key. An expired SSO session is signed in from the window, which needs the AWS CLI.
The permissions it needs
Two actions are enough to browse and read one bucket:
{
"Version": "2012-10-17",
"Statement": [
{ "Effect": "Allow", "Action": ["s3:ListBucket"], "Resource": "arn:aws:s3:::your-bucket" },
{ "Effect": "Allow", "Action": ["s3:GetObject"], "Resource": "arn:aws:s3:::your-bucket/*" }
]
}
s3:ListBucket draws a level of the tree. s3:GetObject reads byte ranges of a file. Listing every bucket in the account needs s3:ListAllMyBuckets, which is why List buckets is never automatic.
A bucket you cannot list from the account
If your policy does not allow s3:ListAllMyBuckets, press Name one bucket instead and type the bucket’s name. A single bucket needs only s3:ListBucket.
When S3 says no
A refusal names its cause and one thing to do, in the status line and over the pane. The common ones:
| What happened | What the window tells you |
|---|---|
| No credentials on this Mac | That there is nothing to sign with, and aws configure. |
A profile that is not in ~/.aws | The profiles that are there, and the command to add the missing one. |
| An expired SSO session | The window signs in and retries; if that fails, it names aws sso login --profile <name>. |
| A bucket in another region | The region, and a press that opens the bucket there. |
| Access denied on a list or a read | Which action is missing, and that listing does not grant reading. |
| An object in Glacier or Deep Archive | That it is archived and must be restored first. This is not a permission problem. |