# Third party Credentials

Transloadit can export files to your cloud bucket or server. To authenticate, we'll need credentials ([write-only](/docs/robots/s3-store.md#minimum-s3-iam-permissions) if possible). You can set these directly in your import and export Robotparameters (often via `key` and `secret`), but we recommend that you use Template Credentials instead. With Template Credentials, you store the credentials separately, assign them a unique name, and then refer to them by that name via the `credentials` Robot Parameter. You can check the individual[Robot docs](/docs/robots.md) for more information.

###### Note

Using Template Credentials is entirely optional.

We have created Template Credentials, so you can:

* Enjoy stronger **encryption and protection** (viewing credentials requires password re-entry).
* Easily **reuse** your credentials across severalTemplates.
* Easily **share** Templates with us without having to redact credentials each time.
* Be more liberal in sending Assembly Instructions directly (without using aTemplate). Even thoughTemplates are recommended, this allows **prototyping**without transmitting secrets every time.
* **Revoke** leaked credentials and replace them without modifying all yourTemplates or code.
* Add **tokens**. Some cloud providers require an interactive "oAuth dance" in order to give Transloadit access. The web interface for Template Credentials allows for this.

Here are Assembly Instructions using Template Credentials that were previously saved in your account as `my_s3_credentials` and`my_youtube_credentials`. It imports videos from an S3 bucket and uploads them to YouTube:

![](/_next/static/media/copy.04p1cju9qekk_.svg?dpl=dpl_B5mt5tVSoART1DMQTCiYtAsGkGSU)

```json
{
  "steps": {
    "imported": {
      "robot": "/s3/import",
      "credentials": "my_s3_credentials",
      "path": "/some/path"
    },
    "exported": {
      "robot": "/youtube/store",
      "use": "imported",
      "credentials": "my_youtube_credentials"
    }
  }
}

```

## How to create Template Credentials

1. Go to your Workspaceʼs [Credentials](/c/template-credentials/) page.
2. Choose your cloud provider from the dropdown menu at the top of the page and fill out all the fields for bucket names, keys and secrets.
3. Give your Template Credentials a name for future reference in yourTemplates and hit save.

You can now set the name as the `credentials` property in your exportRobot.

## Don't give us the keys to your everything

Taking a few security paradigms to heart, we'd like as little privileges as possible to do our work. If you export files to your Amazon S3 bucket, for instance, it's perfectly possible to[create an IAM user that only has write access](/docs/robots/s3-store.md) for that. In the unlikely case that Transloadit gets compromised, we would like the worst-case scenario to be that a few extra files are stored in your bucket by a hacker.

» [Learn more about Security](/security/)
