Storage / Object storage
Object storage
S3-compatible buckets for backups, media, logs, static sites and app assets. Create buckets and scoped access keys, upload directly from browsers, restore versions, share across organizations and trigger webhooks or functions.
What object storage is
Object storage keeps files ("objects") in buckets, and you read and write them over the S3 API. Any S3 tool works with it: the AWS CLI, rclone, s3cmd, and the AWS SDKs such as boto3. A bucket has no size to choose: you store what you need and pay for what is stored.
It suits backups, database dumps, media and user uploads, logs, build artifacts, Terraform state and static websites.
Endpoint and region
Object storage runs in the af-abj region. Point your S3 tools at this endpoint:
https://s3.af-abj.pantechdynamics.comBoth virtual-hosted-style and path-style addressing work:
- Virtual-hosted-style (recommended):
https://<bucket>.s3.af-abj.pantechdynamics.com/<key>: the standard S3 default for modern SDKs and tools, and the format used for public object links. - Path-style (legacy compatible):
https://s3.af-abj.pantechdynamics.com/<bucket>/<key>. It continues to work if an older tool requires it.
The S3 region name is af-abj.
The endpoint is on the public internet: your servers, your customers' devices and Pantech virtual machines all reach it the same way, with an access key (Signature Version 4) or a presigned link.
Create a bucket
In the console, open Object storage and choose New bucket. Give it a name, then pick what you need:
- Name: 3 to 63 lowercase letters, digits and hyphens, starting and ending with a letter or digit. Bucket names are shared by every organization in a region, as on S3, so a name another organization holds is refused with
409 BUCKET_NAME_TAKEN.adminis reserved. A deleted bucket's name is free again once its removal finishes. - Size limit: your own cap on what the bucket may hold. Leave it empty for no limit.
- Object versioning: keep earlier versions of objects you overwrite or delete, and restore previous versions or remove delete markers later.
- Object lock: allow objects to be locked against deletion. It can only be chosen when the bucket is created, and it turns versioning on.
- Encryption (
SSE-S3): enable platform-managed per-bucket AES-256 server-side encryption (encryption: "sse_s3") so every new object written to the bucket is encrypted automatically over HTTPS. Can be set when creating the bucket or changed in place later.
Buckets are created only through Pantech (the console, the CLI, the API or Terraform). An S3 tool cannot create one, even with a full-access key, so every bucket shows up in your console and on your bill.
With the CLI (v0.9.0 or later):
$ pantech buckets create my-app-uploads$ pantech buckets create backups --quota 100 --versioning$ pantech buckets list$ pantech buckets update backups --quota-gb 200 --public-prefix public/$ pantech buckets stats backups$ pantech object-storage usage --range 7d--quota (at create) and --quota-gb (on update) are in GiB. You can also manage bucket rules (pantech buckets cors, lifecycle, tags, object-lock, empty) and objects directly without an S3 access key (pantech buckets objects list, meta, upload, download, presign-download, presign-upload, folder, copy, delete, visibility, tags, lock).
With Terraform (0.8.0 or later), manage buckets with pantechdynamics_bucket (including quota_bytes, versioning, object_lock, public_prefixes, tags, cors_rules, lifecycle_rules, and default_object_lock) and look up an existing bucket's endpoint, live size_bytes, object_count, and tags with data.pantechdynamics_bucket.
From code, the official SDKs (0.5.0 or later) expose typed Object Storage and Bucket clients: client.ObjectStorage and client.Buckets in Go, client.objectStorage and client.buckets in JavaScript/TypeScript, and client.object_storage and client.buckets in Python. To call the REST endpoints directly, see Create a bucket.
Create an access key
S3 tools sign their requests with an access key: an access key ID and a secret. In the console, open Object storage, then Access keys, and create one with a name.
- Permissions: choose
read_write(default),read_only(list and download only), orwrite_only(upload only: cannot read, list or delete, suited to devices and upload pipelines). - Buckets: limit the key to up to 100 buckets you name. Use bucket names, not their
bkt_IDs. Leave it empty for every bucket in your organization. - Prefixes: limit the key to object keys under up to 20 prefixes, such as
uploads/orlogs/prod/(1 to 512 characters, no leading/and without*or?). Leave it empty for every object. - Expiration: optionally set
expires_at(RFC 3339 timestamp up to 10 years ahead). Expired keys are revoked automatically; leave it empty for a key that never expires.
The secret is shown once, when the key is created. Copy it into your tool or secret store straight away; if you lose it, revoke the key and create another.
A new key takes up to about 20 seconds to start working. A request signed with it before then is refused with 403; wait a moment and retry.
$ pantech object-storage keys create --name app$ pantech object-storage keys create --name backups-reader --read-only --bucket backups$ pantech object-storage keys list$ pantech object-storage keys revoke osk_06gk3x9tq7m2v8r4y1c5d0zp8wGive each app or job its own key, with only the buckets, prefixes, permissions and lifetime it needs, so you can revoke one without touching the others.
Owners, admins and developers can create buckets and keys. Only owners and admins can delete a bucket or revoke a key. Every member can see them.
Organization security guardrails
You can turn on Block All Public Access for your whole organization in the console or with PATCH /object-storage/settings ({"block_public_access": true}). When enabled, anonymous access to every public prefix and public object stops within seconds, and any attempt to make a bucket or object public is refused with PUBLIC_ACCESS_BLOCKED. Turning it off restores your previously configured public prefixes and objects. See Block All Public Access.
Use it from your tools
Replace the key ID and secret with your own. Virtual-hosted-style addressing (https://<bucket>.s3.af-abj.pantechdynamics.com/<key>) works by default; path-style (https://s3.af-abj.pantechdynamics.com/<bucket>/<key>) also continues to work if your tool prefers it.
$ aws configure set aws_access_key_id <access key id>$ aws configure set aws_secret_access_key <secret>$ aws configure set region af-abj$ aws --endpoint-url https://s3.af-abj.pantechdynamics.com s3 cp backup.tar.gz s3://backups/$ aws --endpoint-url https://s3.af-abj.pantechdynamics.com s3 ls s3://backups/[pantech]
type = s3
provider = Other
access_key_id = <access key id>
secret_access_key = <secret>
endpoint = https://s3.af-abj.pantechdynamics.com
region = af-abj$ rclone copy ./media pantech:my-app-uploads/media$ rclone ls pantech:my-app-uploadsimport boto3
s3 = boto3.client(
"s3",
endpoint_url="https://s3.af-abj.pantechdynamics.com",
region_name="af-abj",
aws_access_key_id="<access key id>",
aws_secret_access_key="<secret>",
)
s3.upload_file("report.pdf", "my-app-uploads", "reports/report.pdf")
url = s3.generate_presigned_url(
"get_object", Params={"Bucket": "my-app-uploads", "Key": "reports/report.pdf"}, ExpiresIn=3600
)Multipart uploads, presigned URLs, object tags, server-side encryption and versions all work as they do on S3.
Browse a bucket in the console
Open a bucket to see its objects. You can upload files (setting their Content-Type and Cache-Control if you like), create folders, download, copy or move objects, set their tags, make a single object public with Make public and copy its virtual-hosted link (https://<bucket>.s3.af-abj.pantechdynamics.com/<key>), and see or restore earlier versions when versioning is on. Connect to bucket shows the endpoint and ready-made settings for the tools above.
Use the public API
Everything above can also be done with the public API, for scripts, CI and your own tools. Send an API key as a bearer token. Reading needs a read key; creating, changing and deleting need a write key. Every create and change takes an Idempotency-Key header, so a retried request never does the work twice.
$ export PANTECH_API_KEY=PAN_…$ export API=https://api.pantechdynamics.com/public/v11. Check object storage is on for your organization, and get the endpoint and Block All Public Access status:
$ curl $API/object-storage -H "Authorization: Bearer $PANTECH_API_KEY"{
"enabled": true,
"endpoint": "https://s3.af-abj.pantechdynamics.com",
"beta": true,
"direct_upload_enabled": true,
"block_public_access": false
}2. Create a bucket. It answers 201 straight away, with state: "provisioning" and an operation_id; the bucket is ready to use when it reaches active.
$ curl -X POST $API/buckets \ -H "Authorization: Bearer $PANTECH_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{"name": "backups", "versioning": true, "encryption": "sse_s3", "quota_bytes": 107374182400}'quota_bytes is in bytes (here 100 GiB); leave it out for no limit. encryption accepts "none" or "sse_s3". object_lock and public_prefixes can be set here too. To follow it, poll GET /operations/{operation_id}, or GET /buckets/{bucket_id} until state is active.
3. Create an access key for your S3 tools:
$ curl -X POST $API/object-storage/keys \ -H "Authorization: Bearer $PANTECH_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "name": "backups-writer", "permissions": "write_only", "buckets": ["backups"], "prefixes": ["nightly/"], "expires_at": "2027-06-01T00:00:00Z" }'{
"id": "osk_06gk3x9tq7m2v8r4y1c5d0zp8w",
"name": "backups-writer",
"region": "af-abj",
"access_key_id": "<access key id>",
"secret_access_key": "<secret>",
"endpoint": "https://s3.af-abj.pantechdynamics.com",
"read_only": false,
"permissions": "write_only",
"buckets": ["backups"],
"prefixes": ["nightly/"],
"created_at": "2026-11-28T10:00:00Z",
"expires_at": "2027-06-01T00:00:00Z"
}secret_access_key is in this response only. Store it now; it is never returned again. buckets takes bucket names, not bkt_ IDs. The key can take up to about 20 seconds to start working; until then, requests signed with it get 403.
4. Use the bucket with any S3 tool, with the access_key_id, the secret_access_key and the endpoint from step 3 (see use it from your tools), or work with its files through the API, below.
Work with files through the API
The API can upload, list and download objects itself, with your API key and no S3 access key. Use the bucket's id (it starts bkt_) in the path, and the object's key in key:
$ export BUCKET=$API/buckets/bkt_06gk3x9tq7m2v8r4y1c5d0zp8wUpload a file of up to 20 MiB in one request, sending its bytes as the body:
$ curl -X PUT "$BUCKET/objects/upload?key=reports/2026-11.pdf" \ -H "Authorization: Bearer $PANTECH_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/octet-stream" \ --data-binary @2026-11.pdfList what is in a folder, then download a file:
$ curl "$BUCKET/objects?prefix=reports/" \ -H "Authorization: Bearer $PANTECH_API_KEY"$ curl -o 2026-11.pdf "$BUCKET/objects/download?key=reports/2026-11.pdf" \ -H "Authorization: Bearer $PANTECH_API_KEY"Make one file public, and get a link anyone can open:
$ curl -X PUT "$BUCKET/objects/visibility" \ -H "Authorization: Bearer $PANTECH_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{"key": "reports/2026-11.pdf", "public": true}'The answer's public_url is the virtual-hosted link (https://<bucket>.s3.af-abj.pantechdynamics.com/reports/2026-11.pdf). Send "public": false to make it private again; the link stops working at once.
Restore an earlier version as the latest version, or remove a delete marker to undelete a soft-deleted versioned object:
$ curl -X POST "$BUCKET/objects/restore-version" \ -H "Authorization: Bearer $PANTECH_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{"key": "reports/2026-11.pdf", "version_id": "<version id>"}'The response reports action as either copied_version (when restoring an older version) or removed_delete_marker (when undeleting a delete marker).
Let browsers upload straight to a bucket
An upload form lets a browser send a file directly to storage, so your server never handles the bytes. Your server asks for a form, then hands its url and fields to the page:
$ curl -X POST "$BUCKET/objects/upload-form" \ -H "Authorization: Bearer $PANTECH_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{"key_prefix": "avatars/", "max_bytes": 5242880, "content_type": "image/png", "expires_in_seconds": 600}'The page posts every field it was given, then the file last, as multipart/form-data to the returned url:
<form action="https://my-bucket.s3.af-abj.pantechdynamics.com" method="post" enctype="multipart/form-data">
<!-- one hidden input per entry in "fields": key, policy, X-Amz-Algorithm, ... -->
<input type="hidden" name="key" value="avatars/${filename}">
<input type="file" name="file">
<button>Upload</button>
</form>A form allows either exactly one key, or any key under a key_prefix, where the browser's file name fills in ${filename}. Files outside min_bytes to max_bytes (at most 5 GiB), or with another content type when you set one, are refused. The form stops working at expires_at (60 seconds to 7 days; an hour if you don't say). Uploaded files are private, and the bucket's size limit applies.
Anyone holding a form can upload within its limits until it expires, so make it short-lived and narrow. To post it with fetch and read the answer, add your site's origin to the bucket's CORS rules.
Upload from a browser with a presigned link
For a single PUT from the browser, your server asks for a short-lived link and hands it to the page:
$ curl -X POST "$BUCKET/objects/upload-url" \ -H "Authorization: Bearer $PANTECH_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{"key": "avatars/ada.png", "content_type": "image/png"}'{ "direct": true, "url": "https://s3.af-abj.pantechdynamics.com/…?X-Amz-Signature=…", "expires_in_seconds": 900 }The page then sends the file with fetch(url, { method: "PUT", body: file, headers: { "Content-Type": "image/png" } }), using the same content type you asked for. Before the upload, the browser checks the bucket's CORS rules: add a rule that allows your site's origin (for example https://app.example.com) with PUT, and GET if the page also downloads. A site not in the bucket's rules is refused.
direct is true whenever GET /object-storage shows direct_upload_enabled: true. If it is ever false, url is empty: upload through PUT /buckets/{bucket_id}/objects/upload instead.
Large uploads (multipart)
For a file larger than 20 MiB, use the multipart calls (start, sign part URLs or upload parts, complete), or upload it with an S3 tool, which does this for you. To avoid one signing request per chunk, batch-sign up to 100 part numbers in a single call with POST /buckets/{bucket_id}/objects/multipart/sign-parts.
Each part's upload link works for 15 minutes: ask for links as you send the parts, not all at the start of a long upload.
Sharing, notifications and custom domains
Buckets also support:
- Cross-organization sharing: grant another Pantech organization
read_only,write_onlyorread_writeaccess to a bucket or specific key prefixes without exchanging S3 keys. See Cross-account sharing. - Event notifications: invoke a webhook or a function when objects are created (
object.created) or removed (object.removed), with optional prefix and suffix filters. See Event notifications. - Custom domains and static websites: serve a bucket on your own HTTPS hostname using a Certificate Manager certificate, with index/error documents, SPA routing and cache TTL control. See Custom domains and static websites.
Everything else you can do
Each call links to its full reference:
| To | Call |
|---|---|
| Toggle organization-wide Block All Public Access | PATCH /object-storage/settings |
| List your buckets | GET /buckets |
| List buckets shared with your organization | GET /buckets/shared |
| See one bucket, with its size and object count | GET /buckets/{bucket_id} |
| Change versioning, encryption, the size limit or public folders | PATCH /buckets/{bucket_id} |
Delete a bucket (?force=true deletes its objects too) | DELETE /buckets/{bucket_id} |
| List access keys (secrets are never listed) | GET /object-storage/keys |
| Revoke an access key | DELETE /object-storage/keys/{storage_key_id} |
| A bucket's live size and object count | GET /buckets/{bucket_id}/stats |
| Delete every object but keep the bucket | POST /buckets/{bucket_id}/empty |
| Read an object's properties, tags and lock | GET /buckets/{bucket_id}/objects/meta |
| Copy, rename or move an object | POST /buckets/{bucket_id}/objects/copy |
| Restore an earlier object version or remove a delete marker | POST /buckets/{bucket_id}/objects/restore-version |
| Let a browser upload a file directly | POST /buckets/{bucket_id}/objects/upload-form |
| Batch-sign up to 100 multipart upload part URLs | POST /buckets/{bucket_id}/objects/multipart/sign-parts |
| Delete objects, versions or a folder | POST /buckets/{bucket_id}/objects/delete |
| Cross-organization bucket shares | GET, POST /buckets/{bucket_id}/shares and DELETE |
| Object event notifications (webhooks and functions) | GET, POST /buckets/{bucket_id}/notifications, PATCH and DELETE |
| Custom domains and static website settings | GET, POST /buckets/{bucket_id}/domains, PATCH and DELETE |
| CORS rules | GET and PUT /buckets/{bucket_id}/cors |
| Lifecycle rules | GET and PUT /buckets/{bucket_id}/lifecycle |
| Bucket tags | GET and PUT /buckets/{bucket_id}/tags |
| Default object lock retention | GET and PUT /buckets/{bucket_id}/object-lock |
| Hourly transfer and request counts | GET /object-storage/usage |
Every field, error and example is in the object storage API reference, where you can also try each call.
Limits
Each organization starts with these ceilings. Open a ticket if you need more buckets, data or objects:
| Limit | Default |
|---|---|
| Buckets | 100 |
| Stored data | 1 TiB |
| Objects | 10 million |
| Access keys | Your bucket limit, and at least 50 |
The access key limit rises with your bucket limit, so you can always give each bucket its own key. A bucket's own size limit, if you set one, applies within these. When a bucket or your organization is full, uploads are refused, and reading, listing and deleting keep working.
Pricing
Stored data costs ₦500 per GiB a month ($0.42 for accounts billed in dollars). It is measured every hour, in MiB, so a small bucket pays for what it holds rather than a whole GiB. Earlier versions of objects count as stored data.
Data sent out and requests are charged too:
| What | Price | In dollars |
|---|---|---|
| Data out (downloads, including public links and share links) | ₦100 per GiB | $0.083 per GiB |
| Writes and lists: uploads, copies, multipart parts, listings and changes to a bucket's settings | ₦5 per 1,000 requests | $0.0042 per 1,000 |
Reads: downloads and checks that an object exists (GET, HEAD) | ₦0.50 per 1,000 requests | $0.00042 per 1,000 |
Data out is measured in MiB, so a 3 MiB download is billed as 3 MiB, not a whole GiB. Data in, deletes and abandoned multipart uploads are free. A request made with a public link or a share link counts against the bucket's owner, as it does on S3.
Transfer and requests are counted per organization, hour by hour, and appear on your invoice beside stored data.
Next
Bucket settings
Public access guardrails, encryption, custom domains, cross-account sharing, event notifications, CORS, lifecycle rules, versioning, object lock and deleting a bucket.
Read guide
Object storage API
Buckets, access keys, uploads, sharing, notifications, domains and usage over the public API.
Read guide