Class CredHubProperties

java.lang.Object
org.springframework.credhub.core.CredHubProperties

public class CredHubProperties extends Object
Properties containing information about a CredHub server.
Author:
Scott Frederick, Daniel Lavoie
  • Constructor Details

    • CredHubProperties

      public CredHubProperties()
      Create a new instance without initializing properties.
  • Method Details

    • getUrl

      public String getUrl()
      Get the base URI for the CredHub server (scheme, host, and port). This value will be prepended to all requests to CredHub.
      Returns:
      the base URI
    • setUrl

      public void setUrl(String url)
      Set the base URI for the CredHub server (scheme, host, and port). This value will be prepended to all requests to CredHub.
      Parameters:
      url - the base URI for the CredHub server
    • getOauth2

      public CredHubProperties.OAuth2 getOauth2()
      Get the OAuth2 properties.
      Returns:
      the OAuth2 properties.
    • setOauth2

      public void setOauth2(CredHubProperties.OAuth2 oauth2)
      Set the OAuth2 properties.
      Parameters:
      oauth2 - the OAuth2 properties