Deletes an existing secret by ID.
The deleteSecret()
function returns a Promise that resolves when the secret is deleted. You can retrieve the secret _id
using the listSecretInfo()
function.
Note: Deleting a secret is irreversible and will break all code using the secret.
This function requires elevated permissions and runs only on the backend and on dashboard pages.
The unique ID of the secret to be deleted.