Skip to content

Commit a5a8883

Browse files
committed
Fixed confusing line about the CLI
1 parent c30f87e commit a5a8883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oci_vault_beginner_va/ocivaultforbeginners.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Pretty cool, yeah?
185185

186186
### Decrypting Data
187187

188-
To decrypt our data, well, it’s time for a little fishing trip to the old API watering hole. Yep, you can’t do this in Console (why would you?) and you can’t really do it in the CLI either (although you can use the CLI to make a call to the Vault Service’s API). Well, you sort of can, but it’s like running python commands in VS Code – really you’re just testing things out. Decrypting data is normally one of those things you do when you’re DOING something with your data. That’s why we’ll use an API call to access the data, decrypt it, and then send it along for whatever processing we need to do to it. I won’t cover every scenario here, but I will point out all the trails you might want to hike depending on the languages and tools you might use (although it’s still not an exhaustive list, and we may add more as time goes on – that’s progress for you!).
188+
To decrypt our data, well, it’s time for a little fishing trip to the old API watering hole. Yep, you can’t do this in Console (why would you?) and you wouldn't manually decrypt data in the CLI as a production solution (unless you are extremely bored) but you can use the CLI to make a call to the Vault Service’s API. So we'll use the CLI to demonstrate how decryption works. Decrypting data is normally one of those things you do when you’re DOING something with your data. That’s why we’ll use an API call to access the data, decrypt it, and then send it along for whatever processing we need to do to it. I won’t cover every scenario here, but I will point out all the trails you might want to hike depending on the languages and tools you might use (although it’s still not an exhaustive list, and we may add more as time goes on – that’s progress for you!).
189189

190190
Lucas Jellema has a [great example in this Medium article](https://medium.com/oracledevs/oracle-cloud-infrastructure-vault-service-to-generate-manage-and-encrypt-decrypt-using-keys-4122c3ef80b0), where he takes the opening text of Anna Karanenina and uses the OCI CLI to make a call to the Vault Service’s API thusly:
191191

0 commit comments

Comments
 (0)