Package com.strongdm.api
Class SSHCustomerKey
java.lang.Object
com.strongdm.api.SSHCustomerKey
- All Implemented Interfaces:
Resource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether deprecated, insecure key exchanges are allowed for use to connect to the target ssh server.The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1).A filter applied to the routing logic to pin datasource to nodes.booleanTrue if the datasource is reachable and the credentials are valid.The host to dial to initiate a connection from the egress node to this resource.getId()Unique identifier of the Resource.The username to use for healthchecks, when clients otherwise connect with their own identity alias username.The ID of the identity set to use for identity connections.getName()Unique human-readable name of the Resource.intgetPort()The port to dial to initiate a connection from the egress node to this resource.booleanWhether port forwarding is allowed through this server.intThe local port used by clients to connect to this resource.The private key used to authenticate with the server.ID of the proxy cluster for this resource, if any.ID of the secret store containing credentials for this resource, if any.DNS subdomain through which this resource may be accessed on clients.getTags()Tags is a map of key, value pairs.The username to authenticate with.voidsetAllowDeprecatedKeyExchanges(boolean in) Whether deprecated, insecure key exchanges are allowed for use to connect to the target ssh server.voidThe bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1).voidA filter applied to the routing logic to pin datasource to nodes.voidsetHealthy(boolean in) True if the datasource is reachable and the credentials are valid.voidsetHostname(String in) The host to dial to initiate a connection from the egress node to this resource.voidUnique identifier of the Resource.voidThe username to use for healthchecks, when clients otherwise connect with their own identity alias username.voidThe ID of the identity set to use for identity connections.voidUnique human-readable name of the Resource.voidsetPort(int in) The port to dial to initiate a connection from the egress node to this resource.voidsetPortForwarding(boolean in) Whether port forwarding is allowed through this server.voidsetPortOverride(int in) The local port used by clients to connect to this resource.voidsetPrivateKey(String in) The private key used to authenticate with the server.voidID of the proxy cluster for this resource, if any.voidID of the secret store containing credentials for this resource, if any.voidsetSubdomain(String in) DNS subdomain through which this resource may be accessed on clients.voidTags is a map of key, value pairs.voidsetUsername(String in) The username to authenticate with.
-
Constructor Details
-
SSHCustomerKey
public SSHCustomerKey()
-
-
Method Details
-
getAllowDeprecatedKeyExchanges
public boolean getAllowDeprecatedKeyExchanges()Whether deprecated, insecure key exchanges are allowed for use to connect to the target ssh server. -
setAllowDeprecatedKeyExchanges
public void setAllowDeprecatedKeyExchanges(boolean in) Whether deprecated, insecure key exchanges are allowed for use to connect to the target ssh server. -
getBindInterface
The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.- Specified by:
getBindInterfacein interfaceResource
-
setBindInterface
The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.- Specified by:
setBindInterfacein interfaceResource
-
getEgressFilter
A filter applied to the routing logic to pin datasource to nodes.- Specified by:
getEgressFilterin interfaceResource
-
setEgressFilter
A filter applied to the routing logic to pin datasource to nodes.- Specified by:
setEgressFilterin interfaceResource
-
getHealthy
public boolean getHealthy()True if the datasource is reachable and the credentials are valid. -
setHealthy
public void setHealthy(boolean in) True if the datasource is reachable and the credentials are valid. -
getHostname
The host to dial to initiate a connection from the egress node to this resource. -
setHostname
The host to dial to initiate a connection from the egress node to this resource. -
getId
Unique identifier of the Resource. -
setId
Unique identifier of the Resource. -
getIdentityAliasHealthcheckUsername
The username to use for healthchecks, when clients otherwise connect with their own identity alias username. -
setIdentityAliasHealthcheckUsername
The username to use for healthchecks, when clients otherwise connect with their own identity alias username. -
getIdentitySetId
The ID of the identity set to use for identity connections. -
setIdentitySetId
The ID of the identity set to use for identity connections. -
getName
Unique human-readable name of the Resource. -
setName
Unique human-readable name of the Resource. -
getPort
public int getPort()The port to dial to initiate a connection from the egress node to this resource. -
setPort
public void setPort(int in) The port to dial to initiate a connection from the egress node to this resource. -
getPortForwarding
public boolean getPortForwarding()Whether port forwarding is allowed through this server. -
setPortForwarding
public void setPortForwarding(boolean in) Whether port forwarding is allowed through this server. -
getPortOverride
public int getPortOverride()The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1. -
setPortOverride
public void setPortOverride(int in) The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1. -
getPrivateKey
The private key used to authenticate with the server. -
setPrivateKey
The private key used to authenticate with the server. -
getProxyClusterId
ID of the proxy cluster for this resource, if any. -
setProxyClusterId
ID of the proxy cluster for this resource, if any. -
getSecretStoreId
ID of the secret store containing credentials for this resource, if any.- Specified by:
getSecretStoreIdin interfaceResource
-
setSecretStoreId
ID of the secret store containing credentials for this resource, if any.- Specified by:
setSecretStoreIdin interfaceResource
-
getSubdomain
DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode. -
setSubdomain
DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode. -
getTags
Tags is a map of key, value pairs. -
setTags
Tags is a map of key, value pairs. -
getUsername
The username to authenticate with. -
setUsername
The username to authenticate with.
-