Instruction guide for calling this GitHub REST API encryption key library

GitHub REST API requires that a GitHub repository key is used to validate the REST API request. However, on the frontend, it is considered unsafe to put a key in the code. Thus, this library was created to obtain a GitHub repository key by performing a REST API GET (a process that does not require a key) on the frontend, on an encrypted repository file to obtain an encrypted GitHub repository key. The library then decrypts the encrypted key and performs the needed GitHub REST API requests (PUT, DELETE, etc).
  1. Select a package import method for how to call the library using the dropdown.
  2. Enter text in the textarea.
  3. Click Run selection. This example uses the encrypted GitHub key from another repository (RepoB=library_encryption_class), and saves the textarea message in a folder called library_to_run_GitHub_Actions in RepoB.

[0] Select a package import method for how to call the library


[1] Type some text that you would like to save in the file cb.txt, in the folder demonstration_of_library, in this repository


[2] Click the button to save the input text to demonstration_of_library/cb.txt