Reference documentation and code samples for the Certificate Manager v1 API class Certificate.Types.SelfManagedCertificate.
Certificate data for a SelfManaged Certificate.
SelfManaged Certificates are uploaded by the user. Updating such
certificates before they expire remains the user's responsibility.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eCertificate.Types.SelfManagedCertificate\u003c/code\u003e class within the Google Cloud Certificate Manager v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSelfManagedCertificate\u003c/code\u003e represents certificate data that users upload, and it is the user's responsibility to update these certificates before they expire.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, supporting various functionalities related to message handling and object management.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties \u003ccode\u003ePemCertificate\u003c/code\u003e for the PEM-encoded certificate chain and \u003ccode\u003ePemPrivateKey\u003c/code\u003e for the PEM-encoded private key, both being input-only.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eSelfManagedCertificate\u003c/code\u003e is version 2.8.0, with several older versions available as well.\u003c/p\u003e\n"]]],[],null,["# Certificate Manager v1 API - Class Certificate.Types.SelfManagedCertificate (2.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate.Types.SelfManagedCertificate)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.7.0/Google.Cloud.CertificateManager.V1.Certificate.Types.SelfManagedCertificate)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.6.0/Google.Cloud.CertificateManager.V1.Certificate.Types.SelfManagedCertificate)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.5.0/Google.Cloud.CertificateManager.V1.Certificate.Types.SelfManagedCertificate)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.4.0/Google.Cloud.CertificateManager.V1.Certificate.Types.SelfManagedCertificate)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.3.0/Google.Cloud.CertificateManager.V1.Certificate.Types.SelfManagedCertificate)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.2.0/Google.Cloud.CertificateManager.V1.Certificate.Types.SelfManagedCertificate)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.1.0/Google.Cloud.CertificateManager.V1.Certificate.Types.SelfManagedCertificate)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.0.0/Google.Cloud.CertificateManager.V1.Certificate.Types.SelfManagedCertificate)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/1.0.0-beta02/Google.Cloud.CertificateManager.V1.Certificate.Types.SelfManagedCertificate) \n\n public sealed class Certificate.Types.SelfManagedCertificate : IMessage\u003cCertificate.Types.SelfManagedCertificate\u003e, IEquatable\u003cCertificate.Types.SelfManagedCertificate\u003e, IDeepCloneable\u003cCertificate.Types.SelfManagedCertificate\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Certificate Manager v1 API class Certificate.Types.SelfManagedCertificate.\n\nCertificate data for a SelfManaged Certificate.\nSelfManaged Certificates are uploaded by the user. Updating such\ncertificates before they expire remains the user's responsibility. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Certificate.Types.SelfManagedCertificate \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Certificate](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate)[Types](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate.Types)[SelfManagedCertificate](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate.Types.SelfManagedCertificate), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Certificate](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate)[Types](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate.Types)[SelfManagedCertificate](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate.Types.SelfManagedCertificate), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Certificate](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate)[Types](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate.Types)[SelfManagedCertificate](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.Certificate.Types.SelfManagedCertificate), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.CertificateManager.V1](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.CertificateManager.V1.dll\n\nConstructors\n------------\n\n### SelfManagedCertificate()\n\n public SelfManagedCertificate()\n\n### SelfManagedCertificate(SelfManagedCertificate)\n\n public SelfManagedCertificate(Certificate.Types.SelfManagedCertificate other)\n\nProperties\n----------\n\n### PemCertificate\n\n public string PemCertificate { get; set; }\n\nInput only. The PEM-encoded certificate chain.\nLeaf certificate comes first, followed by intermediate ones if any.\n\n### PemPrivateKey\n\n public string PemPrivateKey { get; set; }\n\nInput only. The PEM-encoded private key of the leaf certificate."]]