Skip to content

Commit

Permalink
update quotes for public key note
Browse files Browse the repository at this point in the history
  • Loading branch information
cumulusAnia committed Dec 11, 2024
1 parent 22e662e commit c2728f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,13 @@ You must provide a certificate ID (`<cert-id>`) to uniquely identify the certifi

The following example imports a CA certificate with a public key and calls the certificate `tls-cert-1`. The certificate is passphrase protected with `mypassphrase`. The public key is a Base64 ASCII encoded PEM string.

{{%notice note%}}
- You must enclose the public key in the NVUE command with three double quotes (`"""<public-key>"""`).
- With the REST API, you must enclose the public key with one double quote (`"<public-key>"`).
{{%/notice%}}

```
cumulus@switch:~$ nv action import system security ca-certificate tls-cert-1 passphrase mypassphrase data "<public-key>" 
cumulus@switch:~$ nv action import system security ca-certificate tls-cert-1 passphrase mypassphrase data """<public-key>""" 
```

The following example imports an entity certificate bundle and calls the certificate `tls-cert-1`. The certificate bundle is passphrase protected with `mypassphrase`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ The following example imports a CA certificate with a public key and calls the c

{{%notice note%}}
- You must enclose the public key in the NVUE command with three quotes (`"""<public-key>"""`).
- With the REST API, you must enclose the public key with double quotes (`""<public-key>""`).
- With the REST API, you must enclose the public key with double quotes (`"<public-key>"`).
{{%/notice%}}

```
Expand Down

0 comments on commit c2728f5

Please sign in to comment.