Module erlcloud_sts

Data Types

caller_identity_prop()

caller_identity_prop() = {account, string()} | {arn, string()} | {userId, string()}

Function Index

assume_role/4
assume_role/5
get_caller_identity/1Retrieve identity information.
get_federation_token/3
get_federation_token/4

Function Details

assume_role/4

assume_role(AwsConfig, RoleArn, RoleSessionName, DurationSeconds) -> any()

assume_role/5

assume_role(Aws_config::#aws_config{}, RoleArn::string(), RoleSessionName::string(), DurationSeconds::900..43200, ExternalId::undefined | string()) -> {#aws_config{}, proplist()}

get_caller_identity/1

get_caller_identity(Aws_config::#aws_config{}) -> {ok, [caller_identity_prop()]}

Retrieve identity information

see http://docs.aws.amazon.com/STS/latest/APIReference/API_GetCallerIdentity.html

get_federation_token/3

get_federation_token(AwsConfig, DurationSeconds, Name) -> any()

get_federation_token/4

get_federation_token(Aws_config::#aws_config{}, DurationSeconds::900..129600, Name::string(), Policy::undefined | string()) -> {#aws_config{}, proplist()}


Generated by EDoc