Optidash Blog

Introducing Secure Storage Connectors

Securely store your cloud credentials with Optidash's new storage connectors. Simplify your workflow and improve security.

At Optidash, we proudly offer support for seven leading Object Storage providers: AWS, GCP, Azure, IBM, DigitalOcean, Rackspace, and Alibaba. And now, we’re thrilled to introduce an exciting enhancement: Secure Storage Connectors. With this new feature, you can securely store your storage credentials right within your Optidash account. This advancement not only bolsters the security of your cloud credentials but also streamlines your codebase, reducing complexity and enhancing efficiency.

If you’re utilizing AWS S3 as your preferred Object Storage solution, our documentation provides clear instructions on how to direct the Optidash API to store processed images in your bucket. Simply include your AWS credentials in the JSON payload, as outlined below:

{
    "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 approach may not be optimal from a security management perspective, as it requires hard-coding your credentials directly into your code and transmitting them over the wire with every request to our API. This poses potential security risks and could compromise the integrity of your AWS S3 storage.

How To Use Storage Connectors

Exciting news! Today, we’re thrilled to introduce a new method for supplying your cloud credentials: Secure Storage Connectors. With this cutting-edge feature, you can securely store your security credentials directly within your Optidash Account. What’s more, we ensure the utmost security by encrypting these credentials at rest, providing you with peace of mind and confidence in the protection of your sensitive data.

Add Secure Storage Connector

Once your credentials are securely saved, you can conveniently reference them by their unique id when making calls to our API. This streamlined process simplifies integration and enhances security, allowing you to access your stored credentials effortlessly and securely.

Newly Added Secure Storage Connector

With the introduction of Connector id, you can replace the provider, key, and secret properties in your JSON payload. Here’s how the example from above will be updated:

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

Starting today, you have the flexibility to choose between two methods of providing us with your cloud credentials: directly in your JSON or via Secure Storage Connectors. While both methods are available, if your use case permits, we highly recommend leveraging Secure Storage Connectors. This mechanism offers significantly enhanced security for your cloud credentials, providing an extra layer of protection and peace of mind for your sensitive data.

Wrapping Up

If you have any questions about Secure Storage Connectors or if you’d like to request additional features, please don’t hesitate to reach out to us anytime. We’re here to assist you and ensure that your experience with Optidash is as smooth and efficient as possible. Your feedback is invaluable to us, and we’re committed to continually improving our platform to meet your needs.