# AWSCredentialSpec

## Object

**credential** [AWSCredential](https://docs.mediakind.com/api-reference/media-api/schemas/awscredential)  
Required  
The credential for the AWS S3 bucket.

### Properties

#### accessKeyId  
- **Type:** string  
- **Required:** true  
- **Pattern:** ^A\[KS\]IA\[0-9A-Z\]{16}$  
  
The access key ID for the bucket.

#### secretAccessKey  
- **Type:** string  
- **Required:** true  
- **Pattern:** ^[A-Za-z0-9+/=\]{40}$  
  
The secret access key for the bucket.

#### type  
- **Type:** enum or null  
- **Required:** true  
  
The type of the credential.  
  
**Allowed values:**  
- Microsoft.Storage  
- AWS.S3  
- Google.Storage
