Skip to content

Commit 19dfc61

Browse files
authored
Doc Fix for Issue 3175- OCI Vault image error (helidon-io#3224)
* bug fix for image * fixed image issue and headings * update headings
1 parent 1853de4 commit 19dfc61

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

docs/mp/oci/03_vault.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ oci.vault.cryptographic-endpoint: "<...>"
7070
7171
The OCIDs can be set up and found in OCI under Security tab.
7272
73-
image::oci/ocivault.png[OCI Vault, align="center"]
73+
image::oci/vaultkey.png[OCI Vault, align="center"]
7474
7575
REST endpoint should be setup as follows:
7676
@@ -104,9 +104,9 @@ public class VaultResource {
104104
----
105105
106106
<1> `OciVault` support class is configured and injected automatically
107-
<2> <3> <4> <5> Properties a read from the configuration
107+
<2> <3> <4> <5> Properties read from the configuration
108108
109-
== OCI Vault usage
109+
== OCI Vault Usage
110110
111111
=== Encryption
112112
@@ -159,7 +159,7 @@ public String sign(@PathParam("text") String dataToSign) {
159159
}
160160
----
161161
162-
=== Verification of a signature
162+
==== Verification of a Signature
163163
164164
To verify the correctness of the signature, submit a `GET` request to `/verify` endpoint:
165165
@@ -180,7 +180,7 @@ To verify the correctness of the signature, submit a `GET` request to `/verify`
180180
}
181181
----
182182
183-
=== Creating a signature
183+
==== Creating a Signature
184184
185185
To create a secret with a provided name, submit a `GET` request to `/secret`:
186186
@@ -202,7 +202,7 @@ public String createSecret(@PathParam("name") String name,
202202
}
203203
----
204204
205-
=== Getting a signature
205+
==== Getting a Signature
206206
207207
To get a secret by its OCID, use `GET` Request to `/secret`:
208208
@@ -225,7 +225,7 @@ public String getSecret(@PathParam("id") String secretOcid) {
225225
}
226226
----
227227
228-
=== Deleting a signature
228+
==== Deleting a Signature
229229
230230
To delete a secret, a `DELETE` request to `/secret` should be used:
231231

docs/se/oci/03_vault.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Current configuration requires `~/.oci/config` to be available in the home folde
6969
7070
The OCIDs can be set up and found in OCI under Security tab.
7171
72-
image::oci/ocivault.png[OCI Vault, align="center"]
72+
image::oci/vaultkey.png[OCI Vault, align="center"]
7373
7474
Next, these values should be read and provided to `VaultService`:
7575
@@ -168,7 +168,7 @@ private void sign(ServerRequest req, ServerResponse res) {
168168
}
169169
----
170170
171-
=== Verification of a signature
171+
==== Verification of a Signature
172172
173173
To verify the correctness of the signature, submit a `GET` request to `/verify` endpoint:
174174
@@ -190,7 +190,7 @@ private void verify(ServerRequest req, ServerResponse res) {
190190
}
191191
----
192192
193-
=== Creating a signature
193+
==== Creating a Signature
194194
195195
To create a secret with a provided name, submit a `GET` request to `/secret`:
196196
@@ -210,7 +210,7 @@ private void createSecret(ServerRequest req, ServerResponse res, String secretTe
210210
}
211211
----
212212
213-
=== Getting a signature
213+
==== Getting a Signature
214214
215215
To get a secret by its OCID, submit a `GET` request to `/secret`:
216216
@@ -231,7 +231,7 @@ private void getSecret(ServerRequest req, ServerResponse res) {
231231
}
232232
----
233233
234-
=== Deleting a signature
234+
==== Deleting a Signature
235235
236236
To delete a secret, a `DELETE` request to `/secret` should be used:
237237

0 commit comments

Comments
 (0)