izerui

Results 7 comments of izerui

这个可用: ``` public String getToken() { try { URI uri = new URI("https", String.format("sts.%s.amazonaws.com.cn", Region.CN_NORTHWEST_1.id()), "/", null); SdkHttpFullRequest requestToSign = SdkHttpFullRequest .builder() .method(SdkHttpMethod.GET) // https://docs.amazonaws.cn/aws/latest/userguide/endpoints-Ningxia.html .uri(uri) .appendHeader("x-k8s-aws-id", clusterName) .appendRawQueryParameter("Action", "GetCallerIdentity")...

> eter code - (X-Amz-Se Please refer to mine, don't forget to change the address and region!

HI @srinivasev , You should use the `sts` token request, which may be in two directions with the `eks oauthToken`, perhaps consider using the `sts api`to obtain aws_session_token: ``` StsClient.builder()...

是的,会有失效时间,因为需要通过令牌换取票据,不同的ticket的失效时间不一样

找到一个可以不修改paddleocr源码的方式: ` import fitz 并在ocr之前调用 fitz.restore_aliases() ` 好让fitz恢复旧的别名映射

update bootstrapScript: ``` pip uninstall elasticsearch && \ pip install \ elasticsearch==7.10.1 \ elasticsearch-dbapi==0.2.4 \ ``` In this way, you can connect to opensearch2.5, and then use url: ``` odelasticsearch+https://my_user:[email protected]:443/...

感觉还是ticket 基于redis共享有问题,既然做了session共享了,ticket共享后,就应该没问题了