DewaVPS

Create Access Key

Access Keys allow you to authenticate with the Object Storage S3-compatible API. You need an Access Key to programmatically interact with your buckets.

Steps to Create an Access Key

  1. Log in to your DewaVPS control panel.

  2. Navigate to StorageObject StorageAccess Key tab.

    Access Key List

  3. Click the Create Access Key button.

  4. Fill in the required details:

    • Name: Enter a descriptive name (e.g., S3 Backup Key).
    • Location: Select the datacenter.
    • Expiration: Set an optional expiration date.
    • Bucket: Select which bucket(s) this key can access.
    • ACL: Choose the permission level for each bucket.

    Create Form

    ACLDescription
    PrivateFull read/write access
    ReadRead-only access
    Read-WriteRead and write access
  5. Click Add Another Bucket to grant access to additional buckets.

  6. Click Submit to create the access key.

    Form Filled

  7. Copy the Access Key and Secret Key immediately — they will only be shown once!

Using Your Access Key

Configure your S3 client with the credentials:

# AWS CLI configuration
aws configure set aws_access_key_id YOUR_ACCESS_KEY
aws configure set aws_secret_access_key YOUR_SECRET_KEY
aws configure set default.region jkt

# List buckets
aws s3 ls --endpoint-url https://object.jkt.dewavps.com

# Upload file
aws s3 cp file.txt s3://my-backups/ --endpoint-url https://object.jkt.dewavps.com

Security Note: Treat your Access Key and Secret Key like passwords. Never commit them to version control or share them publicly.

On this page