Interface IScriptVault


public interface IScriptVault
Since:
3.24.10
  • Method Details

    • getStorageKey

      @NotNull String getStorageKey(@NotNull String key)
      Parameters:
      key - from the User Account Vault without the script path prefixed.
      Returns:
      the User Account Vault key with the script path prefixed, i.e., as it should be stored in the User Account Vault. For example, in a project context, a key named 'myKey' should be transformed into 'scripts/projectId/myKey'. Notice that this method does not evaluate whether the key exists or not in the User Account Vault.
    • getSecret

      @Nullable String getSecret(@NotNull String key)
      Parameters:
      key - from the User Account Vault without the script path prefixed.
      Returns:
      the secret as a String for the given key provided, or null if the key does not exist.