加签机制

【可选】X-Ca-Nonce:API调用者生成的UUID,结合时间戳防重复。【可选】X-Ca-Stage请求API所属Stage,目前仅支持TEST、PRE和RELEASE,默认为RELEASE。若您调用非线上环境的API,请一定要指定该参数的值,否则会报URL错误。签名校验 构建...

错误码定义

错误信息 SignatureDoesNotMatch 4001 认证失败 IncompleteSignature 4002 签名 sign 不能为空 SignatureDoesNotMatch 4003 签名 sign 验证失败 SignatureNonceEmpty 4004 nonce 为空 SignatureNonceUsed 4005 nonce 不能重复使用 ...

错误码定义

错误信息 SignatureDoesNotMatch 4001 认证失败 IncompleteSignature 4002 签名 sign 不能为空 SignatureDoesNotMatch 4003 签名 sign 验证失败 SignatureNonceEmpty 4004 nonce 为空 SignatureNonceUsed 4005 nonce 不能重复使用 ...

TypeScript 请求构造示例

.headers={ 'user-agent':Util.getUserAgent(this._userAgent),Date:OpenSearchUtil.getDate(),'Content-Type':'application/json',host:Util.defaultString(this._endpoint,`opensearch-cn-hangzhou.aliyuncs.com`),'X-Opensearch-Nonce':...

TypeScript 请求构造示例

.headers={ 'user-agent':Util.getUserAgent(this._userAgent),Date:OpenSearchUtil.getDate(),'Content-Type':'application/json',host:Util.defaultString(this._endpoint,`opensearch-cn-hangzhou.aliyuncs.com`),'X-Opensearch-Nonce':...

数据模型

Transaction 参数 类型 说明 hash String 交易的哈希,由 signature 字段以外的所有字段构成 type TransactionType 交易的类型,具体见下表 timestamp long 交易的时间戳,单位毫秒 nonce Fixed64BitUnsignedInteger 防止重放攻击 period ...

通过日志服务查看API调用日志

日志服务每个月前500MB免费,具体价格请参照:日志服务定价。1 功能简介 1.1 日志在线查询 可根据日志中任意关键字进行快速的精确、模糊检索,可用于问题定位或者统计查询。1.2 详细调用日志 您可以检索API调用的详细日志包含如下表所示...

数据模型

Transaction 参数 类型 说明 hash String 交易的哈希,由 signature 字段以外的所有字段构成 type TransactionType 交易的类型,具体见下表 timestamp long 交易的时间戳,单位毫秒 nonce Fixed64BitUnsignedInteger 防止重放攻击 period ...

SIP服务接入规范

sip.instance="<urn:uuid:418ee786-4cf0-435a-b42c-5ab6d06f8b88>"Expires:600 User-Agent:Linphone Desktop/4.1.1(belle-sip/1.6.3)Authorization:Digest realm="asterisk",nonce="59320d53",algorithm=MD5,username="TU9e8mJvLJLcSsy9...

数字人流媒体服务WebSDK

如果服务端没有转化的话*前端需要在这里手动转成小驼峰*/channel:{ appId:channel.AppId,/手动转成小驼峰 channelId:channel.ChannelId,expiredTime:channel.ExpiredTime,gslb:channel.Gslb,nonce:channel.Nonce,token:channel.Token,type:...

2.5 可视对讲SIP服务器接入协议

sip.instance="<urn:uuid:418ee786-4cf0-435a-b42c-5ab6d06f8b88>"Expires:600 User-Agent:Linphone Desktop/4.1.1(belle-sip/1.6.3)Authorization:Digest realm="asterisk",nonce="59320d53",algorithm=MD5,username="TU9e8mJvLJLcSsy9...

错误处理

400 SignatureNonceUsed Specified signature nonce was used already.指定的签名已被使用。400 SignatureNotMatch Specified signature is not matched with our calculation.签名不匹配,AccessKey ID或AccessKey Secret配对错误。400 ...

JAVA SDK

JAVA SDK调用方法及示例。获取SDK!...阿里云SDK支持通过定义 ALIBABA_CLOUD_ACCESS_KEY_ID 和 ALIBABA_CLOUD_ACCESS_KEY_SECRET 环境变量来创建默认的访问凭证。调用接口时,程序直接访问凭证,读取您的访问密钥(即AccessKey)并自动完成鉴权...

数据模型

auth_weight:100 }]} 交易模型 下面是交易的基本参数及说明:参数 类型 说明 hash string 交易的哈希,由排除 signature 字段的所有字段构成 type number 交易的类型 timestamp number 交易的时间戳 nonce number 防止重放攻击 period ...

常见问题

access-control-allow-headers"=("X-Requested-With,X-Sequence,X-Ca-Key,X-Ca-Secret,X-Ca-Version,X-Ca-Timestamp,X-Ca-Nonce,X-Ca-API-Key,X-Ca-Stage,X-Ca-Client-DeviceId,X-Ca-Client-AppId,X-Ca-Signature,X-Ca-Signature-Headers,...

签名机制

x-acs-signature-nonce 唯一随机数,用于防止网络重放攻击。用户在不同请求中要使用不同的随机数值。x-acs-signature-method 签名方法,目前只支持 HMAC-SHA1。x-acs-signature-version 签名版本,目前是 1.0。签名计算方法 ROA 风格的 API...

Web应用登录阿里云

state 否 应用通过 state 参数实现多种目的,例如:状态保持、作为nonce使用从而减少CSRF威胁等。state 如果设置为任意字符串,阿里云OAuth2.0服务会将请求中的 state 参数及取值原样放到返回参数中以供后续使用。prompt 否 该参数用于指定...

QueryRequestLogs-获取请求日志

Backend service connect failed `Timeout connecting to[/1XX.20.0.XX:8080]` ConsumerAppId string 调用者应用 ID 11096*InstanceId string API 服务所在的网关实例 ID apigateway-bj-ab2b*ClientNonce string 客户端 X-Ca-Nonce 头 d43...

代码仓库加密是如何实现的?

由图中我们可以发现,加密后的打包文件包头版本中,不再是原有的 00 00 00 02,而是增加了特定标识的 82 00 00 02,并且包头也由原有的12字节扩展为24字节,增加了12字节的NONCE用于增加安全性。那么,当我们移除密钥配置之后,是否可以...

Go client 示例

Date":opensearchutil.GetDate(),"host":util.DefaultString(client.Endpoint,tea.String("opensearch-cn-hangzhou.aliyuncs.com")),"X-Opensearch-Nonce":util.GetNonce(),},headers)if!tea.BoolValue(util.IsUnset(query)){ request_....

Go client 示例

Date":opensearchutil.GetDate(),"host":util.DefaultString(client.Endpoint,tea.String("opensearch-cn-hangzhou.aliyuncs.com")),"X-Opensearch-Nonce":util.GetNonce(),},headers)if!tea.BoolValue(util.IsUnset(query)){ request_....

C# 请求构造示例

endpoint,"opensearch-cn-hangzhou.aliyuncs.com")},{"X-Opensearch-Nonce",AlibabaCloud.TeaUtil.Common.GetNonce()},},headers);if!AlibabaCloud.TeaUtil.Common.IsUnset(query)){ request_.Query=AlibabaCloud.TeaUtil.Common....

C# 请求构造示例

endpoint,"opensearch-cn-hangzhou.aliyuncs.com")},{"X-Opensearch-Nonce",AlibabaCloud.TeaUtil.Common.GetNonce()},},headers);if!AlibabaCloud.TeaUtil.Common.IsUnset(query)){ request_.Query=AlibabaCloud.TeaUtil.Common....

附录

本文介绍了错误码和调用接口的说明示例。...请求URL——请求的服务地址、要执行的操作名称、操作参数和公共请求参数都包含在请求的URL中。...操作名称:每个接口都需要指定要执行的操作名称,即Action参数。操作参数:根据要执行的操作不同,需要...

查询接口

不为0时,使用该值作为交易的时间戳 period long 保留字段,以便后续扩展时使用 nonce Fixed64BitUnsignedInteger 交易的随机值,默认为0时,由sender帮忙生成随机值,不为0时,使用该值作为交易的nonce值 gas BigInteger 该交易所能消耗的...

查询接口

不为0时,使用该值作为交易的时间戳 period long 保留字段,以便后续扩展时使用 nonce Fixed64BitUnsignedInteger 交易的随机值,默认为0时,由sender帮忙生成随机值,不为0时,使用该值作为交易的nonce值 gas BigInteger 该交易所能消耗的...

使用Vault作为KMS服务

关于云盘的计费信息,请参见 计费。h install vault-nvault hashicorp/vault \-set='server.ha.enabled=true' \-set='server.ha.raft.enabled=true' \-set='server.dataStorage.size=20Gi' \-set='server.dataStorage.storageClass=...

使用Vault作为KMS服务

关于云盘的计费信息,请参见 计费。h install vault-nvault hashicorp/vault \-set='server.ha.enabled=true' \-set='server.ha.raft.enabled=true' \-set='server.dataStorage.size=20Gi' \-set='server.dataStorage.storageClass=...

AliRtcEngine接口

aliWebrtc.joinChannel({ userid,/用户ID channel,/频道 appid,/应用ID nonce,/随机码 timestamp,/时间戳 gslb,/gslb服务地址 token,/令牌 },displayName).then(()=>{/入会成功 },(error)=>{/入会失败,打印错误内容,可以看到失败原因 ...

日志脱敏插件(仅专享实例)

可以配置特定的脱敏策略,应用于请求和响应的不同位置,如Header、Query、Token以及Body等。1.前提条件 专享实例。API网关已配置记录sls日志。...2.概述 在日志脱敏插件中,您可以配置一系列脱敏规则(Rule)来控制日志数据的脱敏过程,API......

Native应用登录阿里云

state 否 应用通过 state 参数实现多种目的,例如:状态保持、作为nonce使用从而减少CSRF威胁等。state 如果设置为任意字符串,阿里云OAuth 2.0服务会将请求中的 state 参数以及取值原样放到返回参数中以供后续使用。code_challenge_method...

Quick BI中如何使用原始的HttpClient调用产品提供的...

signHeaders.put("X-Gw-Nonce",UUID.randomUUID().toString());signHeaders.put("X-Gw-Timestamp",String.valueOf(System.currentTimeMillis()));Map,String>signParameters=new HashMap();if(formatType=FormatType.FORM){/parameter json...

使用KMS信封加密在本地加密和解密数据

plaintext)cipher=AES.new(data_key_binary,AES.MODE_EAX)in_content=ReadTextFile(in_file)ciphertext,tag=cipher.encrypt_and_digest(in_content)lines=[datakey_encrypted,base64.b64encode(cipher.nonce),base64.b64encode(ciphertext)...

API说明

示例 请求示例 {"user_id":"useridxxxx","role":"admin"} 正常返回示例 {"code":200,"aliyun_im":{"appid":"xxxx","appsign":"xxxx","apptoken":"xxxxxxxxxxxxxxxxxx","auth":{"userid":"xxxx","nonce":"xxxxx",/可为空"timestamp":xxxxx,...

数字人流媒体服务AndroidSDK

e59f61b2482b4d0562ab542da3f824f7 gslb array 是 AliRTC通道地址["https://rgslb.rtc.aliyuncs.com"]appId String 是 AliRTC应用id ONEX7E28C7C221854 userId String 是 AliRTC生成的UserId userId nonce String 是 AliRTC服务器生成的...

API说明

示例 请求示例 {"user_id":"useridxxxx","role":"admin"} 正常返回示例 {"code":200,"aliyun_im":{"appid":"xxxx","appsign":"xxxx","apptoken":"xxxxxxxxxxxxxxxxxx","auth":{"userid":"xxxx","nonce":"xxxxx",/可为空"timestamp":xxxxx,...

函数计算

Ca-Timestamp,X-Ca-Nonce,X-Ca-API-Key,X-Ca-Stage,X-Ca-Client-DeviceId,X-Ca-Client-AppId,X-Ca-Signature,X-Ca-Signature-Headers,X-Forwarded-For,X-Ca-Date,X-Ca-Request-Mode,Authorization,Content-Type,Accept,Accept-Ranges,Cache...

Android端集成

req.userAuth=new ImAuth(nonce,timestamp,role,app_token);AliVCIMEngine.instance().login(req,new ImSdkCallback());其中role参数,有两种角色:管理员(值:admin)admin角色,可以创建/关闭群组,如果不需要可以设置为空。其中,非...

AddVServerGroupBackendServers-向指定的虚拟服务器组...

400 SignatureNonceUsed Specified signature nonce was used already.指定的签名随机数已经被使用过了。400 VpcSystemBusy Invoke vpc system busy,please retry later.VPC系统异常,请稍后重试。400 OperationDeny.LbNotSupportIPv6...

公共错误码

由于实例类型不允许该操作,只读实例允许克隆和备份实例 诊断 400 InvalidKey.Malformed Specified key is not valid.key验证失败 诊断 400 SignatureNonceUsed Specified signature nonce was used already.指定的签名已被使用。诊断 400 ...
共有4条 < 1 2 3 4 >
跳转至: GO
产品推荐
云服务器 安全管家服务 安全中心
这些文档可能帮助您
弹性公网IP 短信服务 人工智能平台 PAI 金融分布式架构 对象存储 物联网平台
新人特惠 爆款特惠 最新活动 免费试用