diff options
author | crupest <crupest@outlook.com> | 2022-12-10 20:24:59 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-12-20 20:32:53 +0800 |
commit | c53adadcbf93a3b5c1f9c8e2b88bdd0efb122709 (patch) | |
tree | cd901fb537367c3340d47ccd537c4ae06b9af337 /docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretInfo.cs | |
parent | f208e75f9e074a3faab489de1093f660b87c2ec7 (diff) | |
download | crupest-c53adadcbf93a3b5c1f9c8e2b88bdd0efb122709.tar.gz crupest-c53adadcbf93a3b5c1f9c8e2b88bdd0efb122709.tar.bz2 crupest-c53adadcbf93a3b5c1f9c8e2b88bdd0efb122709.zip |
Develop secret api. v25
Diffstat (limited to 'docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretInfo.cs')
-rw-r--r-- | docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretInfo.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretInfo.cs b/docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretInfo.cs index e6af39b..12fd3da 100644 --- a/docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretInfo.cs +++ b/docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretInfo.cs @@ -8,7 +8,7 @@ public class SecretInfo { [Column(NotNull = true)] public string Key { get; set; } = default!; - [Column(NotNull = true, ClientGenerate = true, NoUpdate = true)] + [Column(NotNull = true, ClientGenerate = true, NoUpdate = true, ActAsKey = true)] public string Secret { get; set; } = default!; [Column(DefaultEmptyForString = true)] public string Description { get; set; } = default!; |