aliyun_api v1.1.1 AliyunAPI.STS
Link to this section Summary
Link to this section Functions
Link to this function
assume_role(opts \\ [])
通过该接口,获取一个扮演该角色的临时身份。
https://help.aliyun.com/document_detail/28763.html
opts
- :
role_arn
String [必填] - :
role_session_name
String [必填] - :
policy
策略 - :
duration_seconds
指定的过期时间,单位为秒。过期时间范围:900 ~ 3600,默认值为3600。
Link to this function
get_caller_identity(opts \\ [])
通过该接口,可以获取当前调用者的身份信息。
https://help.aliyun.com/document_detail/28763.html