Skip to content

Commit a35751a

Browse files
authored
DOCSP-24795 updates getKey / getKeyByAltName return types (#1756)
* DOCSP-24795 updates getKey / getKeyByAltName return types * internal review feedback * external review clarification
1 parent 64f1eea commit a35751a

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

source/reference/method/KeyVault.getKey.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@ KeyVault.getKey()
3535

3636
Document representing a matching data encryption key.
3737

38-
Returns nothing if no key in the key vault has the specified
39-
``UUID``.
40-
38+
If no matching data encryption key is found,
39+
``KeyVault.getKey()`` returns an object containing a hint that no
40+
key was found.
41+
4142
Behavior
4243
--------
4344

source/reference/method/KeyVault.getKeyByAltName.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ KeyVault.getKeyByAltName()
3030

3131
Document representing a matching data encryption key.
3232

33-
Returns nothing if no data encryption key has the specified
34-
``keyAltName``.
33+
If no matching data encryption key is found,
34+
``KeyVault.getKeyByAltName()`` returns an object containing a hint
35+
that no key was found.
3536

3637
Behavior
3738
--------

0 commit comments

Comments
 (0)