Interface ResourceProvider

  • All Known Implementing Classes:
    ResourceClient

    public interface ResourceProvider
    Provides methods for retrieving and setting Conjur resources
    • Method Detail

      • retrieveSecret

        String retrieveSecret​(String variableId)
        Fetch the value of a secret in the specified variable
        Parameters:
        variableId - - id of the variable
        Returns:
        The value of a secret from the specified variable
      • addSecret

        void addSecret​(String variableId,
                       String secret)
        Creates a secret value within the specified variable
        Parameters:
        variableId - - id of the variable
        secret - - Secret value within the specified variable