CredentialSchemaPost – Media API – MediaKind
CredentialSchemaPost
object
specobjectRequired
The specification of the credential.
Discriminated by type. Select one variant:
Microsoft.Storageobject AzureCredentialSpecCreate
- credentialobject AzureCredentialCreate Required
The credential for the Azure Storage Account
sasTokenstring Required
pattern: ^?([a-z]+=[^&]+)(&[a-z]+=[^&]+)+$
SAS Token for Azure Storage Account, including leading ?typeenum or null Required
The type of the credential.
Allowed values: Microsoft.Storage, AWS.S3, Google.Storage
AWS.S3object AWSCredentialSpec
- credentialobject AWSCredential Required
The credential for the AWS S3 bucket.
accessKeyIdstring Required
pattern: ^A[KS]IA[0-9A-Z]{16}$
The access key ID for the bucket.secretAccessKeystring Required
pattern: ^[A-Za-z0-9+/=]{40}$
The secret access key for the bucket.typeenum or null Required
The type of the credential.
Allowed values: Microsoft.Storage, AWS.S3, Google.Storage
Google.Storageobject GoogleCredentialSpec
- credentialobject GoogleCredential Required
The credential for the Google Storage bucket.
gacmap from strings to string Required
Google Application Credentials in JSON format.
You can generate this from the command line withgcloud iam service-accounts keys create key.json --iam-account=<service_account>@<project>.iam.gserviceaccount.comOr download it from the GCP console.typeenum or null Required
The type of the credential.
Allowed values: Microsoft.Storage, AWS.S3, Google.Storage