#Issues with c.vault

1 messages · Page 1 of 1 (latest)

compact rover
#

Hi all, not sure if this is just something I'm experiencing. I've tested in different environments, both seem to exhibit the same issue. First my deetz:

> c.version
Carbon 2.0.226.0/linux/2026.01.01.0 [production] [production_build] on Rust 976/2617.275.1 (01/27/2026 03:22:49)

Without any secrets stored, if I run c.vault, the output looks fine, it shows nothing stored.

> c.vault
factory  items  encrypted  value
--------------------------------
 global                         

I can add a secret

> c.vault_add mysecret "supersecret"
Added new vault factory encrypted item 'mysecret' for factory 'global'

And I can see that secret listed

> c.vault
factory  items     encrypted  value
-----------------------------------
 global  mysecret  True            

But when I add another secret

> c.vault_add myothersecret "othersupersecret"
Added new vault factory encrypted item 'myothersecret' for factory 'global'

It says it's added, but c.vault fails to output anything

> c.vault

And throws an error in the console

Failed executing command (The number columns in the row (4) does not match the values (5)
   at StringTable Carbon.Components.StringTable.AddRow(params object[] values) in /home/runner/work/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Carbon/Components/StringTable.cs:line 52
   at void Carbon.Core.CorePlugin.GetVault(Arg arg) in /home/runner/work/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Carbon/CorePlugin/Core.Commands.Vault.cs:line 19
   at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)

This seems to be a c.vault thing because the secrets do get stored and they're used correctly in JsonConverter(typeof(Vault.Protected)) config options. I've tried this on 3 different physical servers, same result. If there's any more info I can provide, let me know.

fierce lynx
#

Oh thanks! Fixing now.

fierce lynx
#

Please use staging/release branch for development purposes

#

Production is so last month

#

Also really love to see that you're using the Vault system ❤️