Skip to content

Commit

Permalink
Update using_jsonencryptor_for_gcp.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
DIPAD-Fran-Bryden authored Jan 9, 2025
1 parent 1ed2041 commit e4d7d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/using_jsonencryptor_for_gcp.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Once you have your password set up, you can use the `secret_write()` function to
For example, if your service account key is called "service_account_key.json", you can encrypt it using the following code:

```r
secret_write("service_account_key.json", "encryped_key.json")
secret_write("service_account_key.json", "encrypted_key.json")
```

This will create a new file called "encrypted_key.json", which is stored inside a `inst/secret` directory. This file is encrypted and can only be decrypted using the password you set up earlier. At this point, you should ensure you _delete_ your original service account key, as it is no longer needed and represents a security risk if accidentally shared
Expand Down

0 comments on commit e4d7d6b

Please sign in to comment.