mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 00:07:21 +00:00
Authenticated encryption for enterprise secrets (#1078)
This commit is contained in:
1 parent
031874cebf
commit
274d718314
26 files changed
+740
-89
No files matched your search
@@ -61,10 +61,10 @@ public sealed class DataTools(Expression<Func<Data, DataTools>>? configSelection
|
||||
/// known at compile time, yet an organization has to be able to configure them the same way.
|
||||
/// <br/><br/>
|
||||
/// A secret field travels here too, but only encrypted with the enterprise secret, in the
|
||||
/// same "ENC:v1:" form the providers use for their API keys. What is stored is therefore
|
||||
/// ciphertext, worthless without a secret that lives outside every deployed file. A plaintext
|
||||
/// secret is refused rather than used, and a secret is never accepted as a pre-filled default
|
||||
/// — see the tool settings service for both rules.
|
||||
/// same "ENC:v2:" or "ENC:v1:" form the providers use for their API keys. What is stored is
|
||||
/// therefore ciphertext, worthless without a secret that lives outside every deployed file. A
|
||||
/// plaintext secret is refused rather than used, and a secret is never accepted as a
|
||||
/// pre-filled default — see the tool settings service for both rules.
|
||||
/// </remarks>
|
||||
public Dictionary<string, string> LockedToolSettings { get; set; } = ManagedConfiguration.Register(
|
||||
configSelection,
|
||||
|
||||
Reference in new issue
Block a user