Interface IScriptVaultAccessor


public interface IScriptVaultAccessor
Since:
3.24.10
  • Method Details

    • shared

      @NotNull IScriptVault shared()
      Returns:
      the IScriptVault for a shared context. Secrets defined in a shared context are available for all Projects, e.g., a secret defined in the User Account Vault as 'scripts/shared/secretService' will be available to any project by calling shared().getSecret('secretService').
    • project

      @NotNull IScriptVault project()
      Returns:
      the IScriptVault for the Project context. Secrets defined in the Project context are only available to the Project that the script is running in. For example, a secret defined in the User Account Vault as 'scripts/myProject/secretService' will be accessible only in the project with the ID 'myProject' by calling project().getSecret('secretService').