如何实现Openstack fernet token 解析
如何实现Openstack fernet token 解析
今天就跟大家聊聊有关如何实现Openstack fernet token 解析,可能很多人都不太了解,为了让大家更加了解,小编给大家总结了以下内容,希望大家根据这篇文章可以有所收获。
针对Newton 版本
Keystone.conf
1.expiration
#Theamountoftimethatatokenshouldremainvalid(inseconds).Drastically#reducingthisvaluemaybreak"long-running"operationsthatinvolvemultiple#servicestocoordinatetogether,andwillforceuserstoauthenticatewith#keystonemorefrequently.Drasticallyincreasingthisvaluewillincrease#loadonthe`[token]driver`,asmoretokenswillbesimultaneouslyvalid.#Keystonetokensarealsobearertokens,soashorterdurationwillalso#reducethepotentialsecurityimpactofacompromisedtoken.(integervalue)#Minimumvalue:0#Maximumvalue:9223372036854775807#expiration=3600
token 过期时间,默认一个小时
2.max_active_keys
#Thiscontrolshowmanykeysareheldinrotationby`keystone-manage#fernet_rotate`beforetheyarediscarded.Thedefaultvalueof3meansthat#keystonewillmaintainonestagedkey(alwaysindex0),oneprimarykey(the#highestnumericalindex),andonesecondarykey(everyotherindex).#Increasingthisvaluemeansthatadditionalsecondarykeyswillbekeptin#therotation.(integervalue)#Minimumvalue:1#max_active_keys=3
最大的active key 数目,默认是3
看完上述内容,你们对如何实现Openstack fernet token 解析有进一步的了解吗?如果还想了解更多知识或者相关内容,请关注恰卡编程网行业资讯频道,感谢大家的支持。
推荐阅读
-
如何在 Linux下使用 cURL 发送带认证的 HTTP 请求
-
Java基于springboot整合jwt 实现token认证
-
AD编程:「文章」TP框架中使用jwt技术来实现Token
-
Cookie、Session、Token那点事儿
-
一文详解JWT的各种演进与图解
-
用Java搭建微信公众号生成access_token
-
vue中Axios如何添加拦截器刷新token
vue中Axios如何添加拦截器刷新token这篇文章将为大家详细...
-
OpenStack架构及服务方式是什么
OpenStack架构及服务方式是什么这篇文章主要介绍了OpenS...
-
OpenStack版本Ussuri发布亮点有哪些
OpenStack版本Ussuri发布亮点有哪些这篇文章将为大家详...
-
OpenStack和TF集成的示例分析
OpenStack和TF集成的示例分析小编给大家分享一下OpenS...