Questions tagged [aws-sts]

The AWS Security Token Service (STS) is a web service that lets you grant a trusted user temporary, limited-privilege credentials to access your Amazon Web Services (AWS) resources.

Resources

146 questions
0
votes
1 answer

(Using CLI) AWS was not able to validate the provided access credentials

I get the following error, when executing the aws cli command: aws ec2 describe-instances --filters "Name=instance-type,Values=m1.small": A client error (AuthFailure) occurred when calling the DescribeInstances operation: AWS was not able to…
Dawny33
  • 8,545
  • 11
  • 65
  • 121
0
votes
0 answers

Using SQS with MFA and temporary STS credentials in dev environment

I'm trying to use a MFA protected SQS queue from a node.js application. The code looks like this: var sts = new AWS.STS(), awsSerialNumber = process.env.AWS_MFA_SERIAL_NUMBER, awsTokenCode = process.env.AWS_MFA_TOKEN; sts.getSessionToken({ …
sebasmagri
  • 172
  • 3
  • 10
0
votes
1 answer

Amazon Cognito: How to pass credentials to server-side application

I have a client side application (developed in Java, not Android) that authenticate a user with an Amazon Cognito User Pool. To make things clear: that application display a username/password entry dialog, then authenticate with the Cognito user…
jwatkins
  • 2,952
  • 16
  • 27
0
votes
0 answers

Amazon Web Services : Assume role with SAML: Security token Service Restrictions

We are implementing SAML based federation with AWS to acceess S3 bucket. http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html There is a security flaw with this approach. If we do STS:AssumeRole, any one can debug, get SAML…
0
votes
1 answer

How to pass credentials to AWS STS GetSessionToken

I wrote a javascript file manager to manage user files on an Amazon S3. It uses the AWS Javascript API. Developed it using hard-coded IAM user credentials, and now for production want to use temporary credentials Instead. My plan is for our PHP…
DaveInMaine
  • 881
  • 9
  • 12
0
votes
1 answer

Accessing AWS S3 with temporary credentials

Hi I have an application written in Scala (distributed system - Spark) and I need to have read access to my S3 bucket. I have access to this bucket through AWS console using an IAM user and I want to gain a temporary credentials to that bucket using…
user_s
  • 933
  • 2
  • 10
  • 32
0
votes
1 answer

How can I to use an AWS temporary security credential just one time?

I want to send a temporary security credentials to a user who can use this credential just one time and after that it will be disabled. When I want to create a temporary security credentials, I only have the option to specify an expiry time. But I…
0
votes
1 answer

How to Generate AWS DynamoDB Credential Key with STS API which is Limited to Insert and Update One Key/Row

Amazons STS allows to create credentials for DynamoDB. I do know how to create time limited (15min - 1h) crediential keys. However I was wondering whether it is possible to generate a DynamoDB key which is allowed/limited to insert and update only…
Manuel
  • 8,016
  • 12
  • 56
  • 93
0
votes
1 answer

Amazon STS as Token Vending Machine: Is User Session Management a valid Usecase?

Recently I read this article: http://aws.amazon.com/articles/SDKs/Android/4611615499399490 Now my question is... Can the Amazon STS (Security Token Service) used as a Token Vending Machine to manage user sessions for a clients of a Web Server (As…
-1
votes
0 answers

Aws config rule for STS

I want to write custom config rule for STS to check VPCEndpoint exists. Should i access sts service directly or via another service in lambda function via boto3 ? Please provide me reference link to understand and come up with custom rule..
-1
votes
1 answer

Get STS Assume Role User Tags

I am trying to store metadata into an STS "assume role" session so that I can retrieve it when the session user calls my service. To accomplish this, I am setting a tag during the STS assumeRole creation: AWSSecurityTokenService service =…
Dennis
  • 345
  • 2
  • 13
1 2 3
9
10