Python Hashicorp Vault:无法从标记中查找命名空间
我已在AWS EC2服务器中安装了Hashicorp Vault,并尝试使用AWS Lambda函数和“AWS身份验证”访问存储在Vault中的密钥。但是我得到了以下错误Python Hashicorp Vault:无法从标记中查找命名空间,python,amazon-web-services,aws-lambda,hashicorp-vault,Python,Amazon Web Services,Aws Lambda,Hashicorp Vault,我已在AWS EC2服务器中安装了Hashicorp Vault,并尝试使用AWS Lambda函数和“AWS身份验证”访问存储在Vault中的密钥。但是我得到了以下错误 {u'errors': [u'error performing token check: failed to look up namespace from the token: no namespace']} 我基本上做了以下几点 已在EC2服务器中安装Hashicorp Vault,已启用AWS身份验证 使用AWS角色在
{u'errors': [u'error performing token check: failed to look up namespace from the token: no namespace']}
我基本上做了以下几点
{
u'lease_id': u'',
u'warnings': [
u'TTL of "768h" exceeded the effective max_ttl of "500h"; TTL value is capped accordingly'
],
u'wrap_info': None,
u'auth': {
u'token_policies': [
u'default',
u'examplepolicy'
],
u'orphan': True,
u'entity_id': u'xxxxxxxxxxxxxx',
u'token_type': u'service',
u'lease_duration': 1800000,
u'policies': [
u'default',
u'examplepolicy'
],
u'client_token': u'xxxxxxxxxxxxxx',
u'accessor': u'xxxxxxxxxxxxxx',
u'renewable': True,
u'metadata': {
u'auth_type': u'iam',
u'account_id': u'xxxxxxxxxxxxxx',
u'role_id': u'xxxxxxxxxxxxxx'
}
},
u'lease_duration': 0,
u'request_id': u'xxxxxxxxxxxxxx',
u'data': None,
u'renewable': False
}