Skip to main content

mysql_ssl_certificates

Creates, updates, deletes, gets or lists a mysql_ssl_certificates resource.

Overview​

Namemysql_ssl_certificates
TypeResource
Idlinode.databases.mysql_ssl_certificates

Fields​

The following fields are returned by SELECT queries:

Returns the SSL CA certificate of a single MySQL Managed Database.

NameDatatypeDescription
ca_certificatestring (base64)The base64-encoded SSL CA certificate for the Managed Database instance. (example: LS0tLS1CRUdJ...==)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectinstanceIdDisplay the SSL CA certificate for an accessible MySQL Managed Database. The database's status needs to be active.

Learn more...

Learn more...

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
instanceIdstringThe ID of the Managed MySQL Database.

SELECT examples​

Display the SSL CA certificate for an accessible MySQL Managed Database. The database's status needs to be active.

Learn more...

Learn more...

SELECT
ca_certificate
FROM linode.databases.mysql_ssl_certificates
WHERE instanceId = '{{ instanceId }}' -- required
;