Skip to main content

Authentication

All API requests to Fil One must be authenticated using AWS Signature Version 4 (SigV4). This is the same authentication method used by AWS S3, so any S3-compatible SDK or tool handles it automatically.

Looking for account sign-in?

This page is about signing API requests. For the account you log into the dashboard with, including two-factor authentication, passkeys, and recovery codes, see Account Security.

Keys and endpoints are region-specific

Every access key belongs to a single region, chosen when you create it, and it only authenticates requests to that region's endpoint. Examples below use eu-west-1, the default region — for us-east-1, use https://s3.us-east-1.filonecontent.com and region us-east-1. If you store data in both regions you need a key for each.

API keys​

Each API key consists of two parts:

ComponentDescriptionExample format
Access Key IDIdentifies the key. Included in request headers.FHXXXXXXXXXXXXXXXX
Secret Access KeySigns your requests. Never sent over the wire.EXAMPLEfakeSECRETkeyDoNotUse...

Your secret key is displayed once at creation time. Store it securely. If you lose it, rotate the key to get a new key pair.

Creating an API key​

Create keys in the console under API Keys → Create new key. Pick the Region carefully: a key only authenticates against its own region's endpoint, and a key created in the wrong region fails with 403, the most common first-run mistake. See Creating an API key for the steps and what each permission allows.

You can create multiple API keys per account. A key can only carry permissions your role in the organization holds, and Read only members cannot create keys. See API Keys for details on configuring key permissions.

Revoking an API key​

Go to API Keys in the left menu, find the key, open its ⋯ action menu, and choose Delete. Deletion is forwarded to the regional storage operator; the key stops working once that change propagates, so rotate any dependent credentials rather than assuming an exact cut-off instant.

Configuring your client​

AWS CLI​

Use AWS CLI v2, version 2.13 or later, which reads endpoint_url from the profile. Configure credentials into a named filone profile (not the default), so they land where --profile filone will read them:

aws configure --profile filone

When prompted, enter your Access Key ID, Secret Access Key, and eu-west-1 as the region. Then add the endpoint and path-style setting to the same profile:

# ~/.aws/config
[profile filone]
endpoint_url = https://s3.eu-west-1.filonecontent.com
region = eu-west-1
s3 =
addressing_style = path

Then use --profile filone on your commands. Path-style addressing is required — without it the CLI uses virtual-hosted URLs that fail against Fil One.

Python (boto3)​

Load credentials from the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables (recommended), which boto3 reads automatically. They're also the names the console's Download .env writes. Set region_name (SigV4 needs a signing region), path-style addressing, and SigV4 for presigned URLs:

import boto3
from botocore.config import Config

s3 = boto3.client(
"s3",
endpoint_url="https://s3.eu-west-1.filonecontent.com",
region_name="eu-west-1",
config=Config(signature_version="s3v4", s3={"addressing_style": "path"}),
)

For a quick local test only, you can pass credentials inline — never commit this to source control:

import boto3
from botocore.config import Config

s3 = boto3.client(
"s3",
endpoint_url="https://s3.eu-west-1.filonecontent.com",
aws_access_key_id="YOUR_ACCESS_KEY",
aws_secret_access_key="YOUR_SECRET_KEY",
region_name="eu-west-1",
config=Config(signature_version="s3v4", s3={"addressing_style": "path"}),
)

JavaScript (AWS SDK v3)​

import { S3Client } from "@aws-sdk/client-s3";

const client = new S3Client({
endpoint: "https://s3.eu-west-1.filonecontent.com",
region: "eu-west-1",
forcePathStyle: true,
// SDK v3.729+ adds checksums Fil One doesn't accept on presigned uploads
requestChecksumCalculation: "WHEN_REQUIRED",
responseChecksumValidation: "WHEN_REQUIRED",
// Credentials come from AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY
});

Go​

package main

import (
"os"

"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/credentials"
"github.com/aws/aws-sdk-go-v2/service/s3"
)

func newClient() *s3.Client {
return s3.New(s3.Options{
BaseEndpoint: aws.String("https://s3.eu-west-1.filonecontent.com"),
Region: "eu-west-1",
UsePathStyle: true,
Credentials: credentials.NewStaticCredentialsProvider(
os.Getenv("AWS_ACCESS_KEY_ID"),
os.Getenv("AWS_SECRET_ACCESS_KEY"),
"",
),
})
}

Security best practices​

  • Do not hardcode credentials in source code. Use environment variables, a secrets manager, or credential files.
  • Create separate keys for different environments (development, staging, production).
  • Rotate keys periodically. Use Rotate in the key's ⋯ menu, then deploy the new credentials. The old secret stops working as soon as the new one is issued. See Rotating a key.
  • Revoke keys immediately if you suspect they have been compromised.