MONGOC_CLIENT...ET_KEYALTNAMES(3)
π MONGOC_CLIENT_ENCRYPTION_DATAKEY_OPTS_SET_KEYALTNAMES(3) β¨
ok so this is a page from libmongoc, and it's about giving your data keys cute little nicknames. bestie, let me tell you everything π«Ά
πΈ SYNOPSIS πΈ
void
mongoc_client_encryption_datakey_opts_set_keyaltnames (
mongoc_client_encryption_datakey_opts_t *opts,
char **keyaltnames,
uint32_t keyaltnames_count);
π DESCRIPTION π
Okay so picture this: you've got a data key, and you want other strings you can use to identify it. That's literally what this does β it sets a list of alternate name strings that can be used to identify a data key. Key alternate names must be unique. No cap, that part actually matters π₯
π PARAMETERS π
optsβ amongoc_client_encryption_datakey_opts_t. your little options bag, the main character of this whole function πkeyaltnamesβ an array of strings. the nicknames themselves, bestie β¨keyaltnames_countβ the number of strings inkeyaltnames. gotta tell it how many there are or it simply will not know π
π SEE ALSO π
mongoc_client_encryption_encrypt_opts_set_keyaltname()β the sibling function, go give it a read too π¦
π AUTHOR π
MongoDB, Inc β yes, the MongoDB, Inc π
β COPYRIGHT β
2009-present, MongoDB, Inc. β iconic, protected, periodt π
ok that's the whole page, go forth and name your data keys something adorable, mwah πβ¨
libmongoc version 2.5.6, dated Oct 09, 2026 β signed off with love, from your favorite unix gremlin π§π
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms