< Back

Remove-GcSqlSslCert

Mon Jan 13, 2020 11:45 pm

NAME Remove-GcSqlSslCert



SYNOPSIS

Deletes the SSL certificate. The change will not take effect until the instance is restarted for first-generation

instances.





SYNTAX

Remove-GcSqlSslCert [-Project <string>] [-Instance] <string> [-Sha1Fingerprint] <string> [<CommonParameters>]



Remove-GcSqlSslCert [-Cert] <SslCert> [<CommonParameters>]





DESCRIPTION

Deletes the SSL certificate for the instance.





PARAMETERS

-Project <string>

Name of the project. Defaults to the Cloud SDK configuration for properties if not specified.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Instance <string>

Cloud SQL instance name.



Required? true

Position? 0

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Sha1Fingerprint <string>

Sha1 FingerPrint for the SSL Certificate you want to delete.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Cert <SslCert>

The SSL Certificate that describes the SSL Certificate to remove.



Required? true

Position? 0

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Google.Apis.SQLAdmin.v1beta4.Data.SslCert

The SSL Certificate that describes the SSL Certificate to remove.





OUTPUTS



---------- EXAMPLE 1 ----------



PS C:\\> Remove-GcSqlSslCert "myInstance" "myFinger"



Removes the SSL Certificate identified with the sha1Fingerprint "myFinger" from the instance "myInstance".

---------- EXAMPLE 2 ----------



Removes the SSL Certificate stored in "myInstance".PS C:\\> Remove-GcSqlSslCert "myInstance"





RELATED LINKS