Blog

Introducing Secure Object Storage Connectors

At Optidash we support seven different Object Storage providers - AWS, GCP, Azure, IBM, DigitalOcean, Rackspace, and Alibaba. Today we are extending that functionality with Secure Storage Connectors that allow you to securely save storage credentials in your Optidash account. That greatly improves the security of your cloud credentials and reduces the complexity in your codebase.

Say you’re using AWS S3 as your Object Storage of choice. As per our documentation, you can instruct Optidash API to store processed images in a bucket by providing your AWS credentials in the JSON payload, for example:

{
    "crop": {
        "mode": "ratio",
        "ratio": "5:9"
    },
    "optimize": {
        "compression": "high"
    },
    "store": {
        "provider": "aws",
        "key": "your-aws-key",
        "secret": "your-aws-secret",
        "bucket": "example-bucket",
        "region": "us-west-2",
        "path": "/my/images/file.jpg"
    }
}

This might not be ideal from the security management standpoint because you have to hard-code those credentials in your code and push them over the wire with every request to our API.

Today we are introducing an additional way of supplying your cloud credentials. We call this feature Secure Storage Connectors. In your Optidash Account you can now securely store your security credentials and we encrypt them at rest.

Add Secure Storage Connector

When your credentials are saved, you ca reference them by id when making calls to our API:

Newly Added Secure Storage Connector

Connector id effectively replaces provider, key, and secret properties in your JSON. The example from the above will look like the following:

{
    "crop": {
        "mode": "ratio",
        "ratio": "5:9"
    },
    "optimize": {
        "compression": "high"
    },
    "store": {
        "id": "jDDbBBwKvkTzDmJYYBGb",
        "bucket": "example-bucket",
        "region": "us-west-2",
        "path": "/my/images/file.jpg"
    }
}

As of today, you can use both methods of providing us with your cloud credentials - directly in your JSON or by using Secure Storage Connectors. If your use case allows, we highly recommend to use Connectors as this mechanism will greatly increase the security of your cloud credentials.

Should you have questions about Secure Storage Connectors or requests for other features do not hesitate to contact us anytime.

Ready to try Optidash?

Start optimizing your images smarter. Integrate in minutes.

Create Free Account Get In Touch

This website uses cookiesBy using Optidash, you agree to our Cookie Policy.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.