public sealed class SecuritySettings : IMessage<SecuritySettings>, IEquatable<SecuritySettings>, IDeepCloneable<SecuritySettings>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class SecuritySettings.
The authentication and authorization settings for a BackendService.
Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends. clientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted.
public RepeatedField<string> SubjectAltNames { get; }
Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual TLS handshake with an server/endpoint for this BackendService. When the server presents its X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If the field contains one of the specified values, the communication continues. Otherwise, it fails. This additional check enables the client to verify that the server is authorized to run the requested service. Note that the contents of the server certificate's subjectAltName field are configured by the Public Key Infrastructure which provisions server identities. Only applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode).
[[["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-08 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSecuritySettings\u003c/code\u003e class in the Google.Cloud.Compute.V1 namespace defines authentication and authorization configurations for a BackendService within the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class supports multiple versions, with the latest being 3.6.0 and other versions ranging from 3.5.0 down to 1.0.0, allowing for version-specific documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSecuritySettings\u003c/code\u003e 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, inheriting methods like \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eClientTlsPolicy\u003c/code\u003e, \u003ccode\u003eHasClientTlsPolicy\u003c/code\u003e, and \u003ccode\u003eSubjectAltNames\u003c/code\u003e, which are crucial for managing client-server authentication and secure communication, particularly in mTLS mode and for INTERNAL_SELF_MANAGED load balancing.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecuritySettings\u003c/code\u003e class has two constructors, one being parameterless and the other accepting another \u003ccode\u003eSecuritySettings\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]