MySQL Shell 9.2
The following functions enable you to work with the Pluggable Password store. You can list the available Secret Store Helpers, as well as list, store, and retrieve credentials.
Returns a list of strings, where each string is a name of a
Secret Store Helper available on the current platform. The
special values default and
<disabled> are not in the list, but
are valid values for the
credentialStore.helper option.
Stores given credentials using the current Secret Store Helper
(credentialStore.helper). Throws an error
if the store operation fails, for example if the current
helper is invalid. If the URL is already in the Secret Store,
it is overwritten. This method ignores the current value of
the credentialStore.savePasswords and
credentialStore.excludeFilters options. If
a password is not provided, MySQL Shell prompts for one.
Deletes the credentials for the given URL using the current
Secret Store Helper
(credentialStore.helper). Throws an error
if the delete operation fails, for example the current helper
is invalid or there is no credential for the given URL.
Deletes all credentials managed by the current Secret Store
Helper (credentialStore.helper). Throws an
error if the delete operation fails, for example the current
Helper is invalid.