Skip to content

Commit 309f075

Browse files
Apply suggestions from code review
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
1 parent 83471df commit 309f075

File tree

5 files changed

+15
-29
lines changed
  • content/vault
    • v1.16.x/content/api-docs/secret
    • v1.17.x/content/api-docs/secret
    • v1.18.x/content/api-docs/secret
    • v1.19.x/content/api-docs/secret
    • v1.20.x/content/api-docs/secret

5 files changed

+15
-29
lines changed

content/vault/v1.16.x/content/api-docs/secret/ssh.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -558,12 +558,10 @@ $ curl \
558558
## Submit CA information
559559

560560
This endpoint allows submitting the CA information for the secrets engine via an SSH
561-
key pair.
561+
key pair. If you call submit CA with an existing certificate or key, the
562+
endpoint returns an error. To update existing values, call the delete CA
563+
information endpoint before calling the submit endpoint.
562564

563-
<Note>
564-
If a certificate or key are present, an error will be returned. To update the existing
565-
values, the Delete CA information API will need to be called first.
566-
</Note>
567565

568566
| Method | Path |
569567
| :----- | :--------------- | -------------------------- |

content/vault/v1.17.x/content/api-docs/secret/ssh.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -562,12 +562,9 @@ $ curl \
562562
## Submit CA information
563563

564564
This endpoint allows submitting the CA information for the secrets engine via an SSH
565-
key pair.
566-
567-
<Note>
568-
If a certificate or key are present, an error will be returned. To update the existing
569-
values, the Delete CA information API will need to be called first.
570-
</Note>
565+
key pair. If you call submit CA with an existing certificate or key, the
566+
endpoint returns an error. To update existing values, call the delete CA
567+
information endpoint before calling the submit endpoint.
571568

572569
| Method | Path |
573570
| :----- | :--------------- | -------------------------- |

content/vault/v1.18.x/content/api-docs/secret/ssh.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -562,12 +562,9 @@ $ curl \
562562
## Submit CA information
563563

564564
This endpoint allows submitting the CA information for the secrets engine via an SSH
565-
key pair.
566-
567-
<Note>
568-
If a certificate or key are present, an error will be returned. To update the existing
569-
values, the Delete CA information API will need to be called first.
570-
</Note>
565+
key pair. If you call submit CA with an existing certificate or key, the
566+
endpoint returns an error. To update existing values, call the delete CA
567+
information endpoint before calling the submit endpoint.
571568

572569
| Method | Path |
573570
| :----- | :--------------- | -------------------------- |

content/vault/v1.19.x/content/api-docs/secret/ssh.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -559,12 +559,9 @@ $ curl \
559559
## Submit CA information
560560

561561
This endpoint allows submitting the CA information for the secrets engine via an SSH
562-
key pair.
563-
564-
<Note>
565-
If a certificate or key are present, an error will be returned. To update the existing
566-
values, the Delete CA information API will need to be called first.
567-
</Note>
562+
key pair. If you call submit CA with an existing certificate or key, the
563+
endpoint returns an error. To update existing values, call the delete CA
564+
information endpoint before calling the submit endpoint.
568565

569566
| Method | Path |
570567
| :----- | :--------------- | -------------------------- |

content/vault/v1.20.x/content/api-docs/secret/ssh.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -559,12 +559,9 @@ $ curl \
559559
## Submit CA information
560560

561561
This endpoint allows submitting the CA information for the secrets engine via an SSH
562-
key pair.
563-
564-
<Note>
565-
If a certificate or key are present, an error will be returned. To update the existing
566-
values, the Delete CA information API will need to be called first.
567-
</Note>
562+
key pair. If you call submit CA with an existing certificate or key, the
563+
endpoint returns an error. To update existing values, call the delete CA
564+
information endpoint before calling the submit endpoint.
568565

569566
| Method | Path |
570567
| :----- | :--------------- | -------------------------- |

0 commit comments

Comments
 (0)