Interface SecureDataStorage

    • Method Detail

      • getSecureValue

        @NotNull
        String getSecureValue​(@NotNull
                              String token,
                              @NotNull
                              String contextDescription)
        Returns a secret (password, API key, etc) associated with this project and token, or the same token if there is no such secret. In the latter case a health report will be raised for project administrators.
        Parameters:
        token - token
        contextDescription - human friendly description of context in which secret is accessed; this context is later used in health report, when secret cannot be restored by provided token
        Returns:
        see above
        Since:
        2017.1