Home » API Reference » Encoding Settings » General Output Settings » Credentials

credentials

:String permalink

API Versions: V2

Parent: outputs

Compatible Job Types: All

Example: s3_production

Description:

References the nickname of saved credentials to use for transfer.

Credentials can only be used with URLs that match their type; for example, S3 credentials paired with an FTP URL will be rejected.

Note:

A username or password in the URL (like sftp://username:password@server/video.mp4) will take precedence over both the credentials parameter and any default credentials.

{
  "input": "s3://zencodertesting/test.mov",
  "outputs": [
    {
      "credentials": "s3_production",
      "url": "s3://bucket/video.mp4"
    }
  ]
}
      
<api_request>
  <input>s3://zencodertesting/test.mov</input>
  <outputs type="array">
    <output>
      <credentials>s3_production</credentials>
      <url>s3://bucket/video.mp4</url>
    </output>
  </outputs>
</api_request>