public class SecureSessionAgentUtilities to fetch the S2A (Secure Session Agent) address from the mTLS configuration.
mTLS configuration is queried from the MDS MTLS Autoconfiguration endpoint. See https://google.aip.dev/auth/4115 for details.
This is an experimental utility.
Static Methods
create()
public static SecureSessionAgent create()| Returns | |
|---|---|
| Type | Description |
SecureSessionAgent |
default instance of SecureSessionAgent |
newBuilder()
public static SecureSessionAgent.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
SecureSessionAgent.Builder |
|
Methods
getConfig()
public SecureSessionAgentConfig getConfig()This method makes a network call to MDS to get the SecureSessionAgentConfig which contains the plaintext and mtls address to reach the S2A (Secure Session Agent).
| Returns | |
|---|---|
| Type | Description |
SecureSessionAgentConfig |
a SecureSessionAgentConfig. |