Skip to content

Commit ba029f5

Browse files
committed
fixup! doc: remove reference to "credentials object"
1 parent d4ce20b commit ba029f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/tls.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1406,9 +1406,9 @@ to `true`, other APIs that create secure contexts leave it unset.
14061406
from `process.argv` as the default value of the `sessionIdContext` option, other
14071407
APIs that create secure contexts have no default value.
14081408

1409-
The `tls.createSecureContext()` method creates a `SecureContext` object. The
1410-
object has no public methods, but is accepted as an argument to several `tls`
1411-
APIs, such as [`tls.createServer()`][] and [`server.addContext()`][].
1409+
The `tls.createSecureContext()` method creates a `SecureContext` object. It is
1410+
usable as an argument to several `tls` APIs, such as [`tls.createServer()`][]
1411+
and [`server.addContext()`][], but has no public methods.
14121412

14131413
A key is *required* for ciphers that make use of certificates. Either `key` or
14141414
`pfx` can be used to provide it.

0 commit comments

Comments
 (0)