import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const customStorageCredential = await client.customStorageCredentials.create('connection_id', {
backend: 'gcs',
configuration: {},
});
console.log(customStorageCredential.connection_id);{
"data": {
"backend": "gcs",
"configuration": {
"credentials": "OPAQUE_CREDENTIALS_TOKEN",
"bucket": "example-bucket"
}
},
"connection_id": "1234567890",
"record_type": "custom_storage_credentials"
}Creates a custom storage credentials configuration.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const customStorageCredential = await client.customStorageCredentials.create('connection_id', {
backend: 'gcs',
configuration: {},
});
console.log(customStorageCredential.connection_id);{
"data": {
"backend": "gcs",
"configuration": {
"credentials": "OPAQUE_CREDENTIALS_TOKEN",
"bucket": "example-bucket"
}
},
"connection_id": "1234567890",
"record_type": "custom_storage_credentials"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Uniquely identifies a Telnyx application (Call Control, TeXML) or Sip connection resource.
Creates new credentials resource for the specified connection_id.
gcs, s3, azure "gcs"
A response containing a credentials resource.
Show child attributes
gcs, s3, azure "gcs"
Uniquely identifies a Telnyx application (Call Control, TeXML) or Sip connection resource.
"1234567890"
Identifies record type.
custom_storage_credentials Was this page helpful?