Stay organized with collections
Save and categorize content based on your preferences.
Creates an SSL certificate and returns it along with the private key and
server certificate authority. The new certificate will not be usable
until the instance is restarted.
Arguments
Parameters
instance
string
Required. Cloud SQL instance ID. This does not include the project ID.
project
string
Required. Project ID of the project that contains the instance.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Method: googleapis.sqladmin.v1.sslCerts.insert\n\nCreates an SSL certificate and returns it along with the private key and\nserver certificate authority. The new certificate will not be usable\nuntil the instance is restarted.\n\nArguments\n---------\n\nRaised exceptions\n-----------------\n\nResponse\n--------\n\nIf successful, the response contains an instance of [`SslCertsInsertResponse`](/workflows/docs/reference/googleapis/sqladmin/v1/Overview#SslCertsInsertResponse).\n\nSubworkflow snippet\n-------------------\n\nSome fields might be optional or required.\nTo identify required fields, refer to the [API documentation](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/sslCerts/insert). \n\n### YAML\n\n```yaml\n- insert:\n call: googleapis.sqladmin.v1.sslCerts.insert\n args:\n instance: ...\n project: ...\n body:\n commonName: ...\n result: insertResult\n```\n\n### JSON\n\n```json\n[\n {\n \"insert\": {\n \"call\": \"googleapis.sqladmin.v1.sslCerts.insert\",\n \"args\": {\n \"instance\": \"...\",\n \"project\": \"...\",\n \"body\": {\n \"commonName\": \"...\"\n }\n },\n \"result\": \"insertResult\"\n }\n }\n]\n```"]]