curl -X POST 'https://generativelanguage.googleapis.com/v1beta/credentials' \
-H 'Content-Type: application/json' \
-d '{
"value": "string",
"injection_location": "header",
"id": "string",
"type": {},
"trusted_domains": [
"string"
]
}'