当前位置:网站首页>Azure key vault (3): the difference between key and secret
Azure key vault (3): the difference between key and secret
2022-07-22 07:32:00 【Stone-hdj】
I saw a very vivid example on the Internet to illustrate Key and Secret The difference between :
Key
Key It's a kind of “ Encryption key ”, Used to encrypt information , There is no need to disclose the private key to the consumer . It's like a black box , Use RSA perhaps EC The algorithm encrypts .
We use RSA Algorithm as an example :
RSA The algorithm involves a public key and a private key . Everyone can know the public key , It is used to encrypt messages . Mail encrypted with public key can only be decrypted with private key .
for example :
Suppose you need to store the customer's credit card number , The safe way to keep it in the database is to encrypt it . In software design and business requirements , Obviously you should encrypt it . If the data is not encrypted , Then the attacker can directly obtain the card number , In this way, the information is no longer secure .
If you use Key Vault Medium Key, You can use The credit card number information is sent to Key Vault, It will encrypt the information , And return the encrypted value to the caller .
In high-performance scenarios , You can learn from Key Vault Get the public key , Use it to encrypt information from the application side , The encrypted card number information is stored in the database , Instead of sending data to Key Vault.
The only way to get real data is to send encrypted data to Key Vault, There it will return the decrypted credit card number .
Secret
Secret Provide secure storage of general secrets , Such as token , Password, connection string, etc .
Secret In order to 8 Store and manage secrets in the form of bits and bytes , The largest size is 25kb.
Save to Secret The data in will be encrypted and stored , If you have permission to retrieve data at any time .
Note:
Key and Secret The activation date and expiration date of encrypted data can be set .
Reference link :
About keys - Azure Key Vault | Microsoft Docshttps://docs.microsoft.com/en-us/azure/key-vault/keys/about-keysAbout Azure Key Vault secrets - Azure Key Vault | Microsoft Docs
https://docs.microsoft.com/en-us/azure/key-vault/secrets/about-secrets
边栏推荐
- ECCV 2022 | fix the performance damage of large targets caused by FPN: you should look at all objects
- Spirng之注解使用
- Crazy God redis notes 06
- 迪赛智慧数——其他图表(桑基图):暑假消费情况
- 数据可视化图表之面积折线图
- 22括号生成
- Keras深度学习实战——基于VGG19模型实现性别分类
- 2022年中国第三方支付市场专题分析
- pycharm读取JY-901S数据
- The C out keyword error cs0136 cannot declare the local variable or parameter in this scope because the name is used to define the local variable or parameter in a closed local scope
猜你喜欢
Dynamics 365: 如何解除实体只能创建2个Access Team Templates的限制
mysql中的字段如何选择合适的数据类型呢?
kettle入门杂乱笔记
Keras deep learning practice (13) -- detailed explanation of the basis of target detection
Dynamics 365: 如何在Azure AD中創建用戶並添加到Dynamics 365 Online中
20、shell编程之变量
Special analysis of China's third-party payment market in 2022
Oracle 关于date 字段索引使用测试
Keras' deep learning practice -- gender classification based on RESNET model
架构师成长:当谈到架构,究竟是谈什么
随机推荐
知觉的定义
Keras深度学习实战(12)——面部特征点检测
Keras深度学习实战(13)——目标检测基础详解
ligerui 表格控件grid 根据内容更改行(单元格)颜色
测试人员面试时常见问题
Yyds dry goods inventory # solve the real problem of famous enterprises: how many people will little a meet at most
Azure Key Vault(3):Key和Secret的区别
The difference between abstract class and interface interface in C #
吃了爱优腾的药,奈飞病情好转
Scala函数及其高阶应用
The properties of variables and functions beginning with static specifiers in C language
Keras deep learning practice (12) -- facial feature point detection
Encryption crash, Web3 is dead?
dedecms编辑器支持Word图片自动粘贴
[log4j.properties configuration full version]
带你认识8个软件设计中的谬误
Detailed explanation of redis [data operation, persistence, jedis, cache processing] of NoSQL database
Oracle 关于date 字段索引使用测试
HashSet of set
8.026 billion yuan! The state Internet Information Office imposed administrative penalties related to network security review on didi in accordance with the law