java.lang.Object
com.alibaba.nacos.client.auth.ram.identify.StsConfig

public class StsConfig extends Object
Sts config.
作者:
Nacos
  • 字段详细资料

    • RAM_SECURITY_CREDENTIALS_URL

      private static final String RAM_SECURITY_CREDENTIALS_URL
      另请参阅:
    • ramRoleName

      private String ramRoleName
    • timeToRefreshInMillisecond

      private int timeToRefreshInMillisecond
      The STS temporary certificate will be refreshed when the validity period of the temporary certificate is left (allow the local time to be at most slower than the STS service time).
    • securityCredentialsUrl

      private String securityCredentialsUrl
      Metadata interface for obtaining STS temporary credentials (including role name).
    • securityCredentials

      private String securityCredentials
      Set the STS temporary certificate and no longer obtain it through the metadata interface.
    • cacheSecurityCredentials

      private boolean cacheSecurityCredentials
      Whether to cache.
  • 构造器详细资料

    • StsConfig

      private StsConfig()
  • 方法详细资料

    • getInstance

      public static StsConfig getInstance()
    • getRamRoleName

      public String getRamRoleName()
    • setRamRoleName

      public void setRamRoleName(String ramRoleName)
    • getTimeToRefreshInMillisecond

      public int getTimeToRefreshInMillisecond()
    • setTimeToRefreshInMillisecond

      public void setTimeToRefreshInMillisecond(int timeToRefreshInMillisecond)
    • getSecurityCredentialsUrl

      public String getSecurityCredentialsUrl()
    • setSecurityCredentialsUrl

      public void setSecurityCredentialsUrl(String securityCredentialsUrl)
    • getSecurityCredentials

      public String getSecurityCredentials()
    • setSecurityCredentials

      public void setSecurityCredentials(String securityCredentials)
    • isStsOn

      public boolean isStsOn()
    • isCacheSecurityCredentials

      public boolean isCacheSecurityCredentials()
    • setCacheSecurityCredentials

      public void setCacheSecurityCredentials(boolean cacheSecurityCredentials)